From d53faa07a34dd6235e3c27105b8024db951a9ef7 Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Tue, 6 Feb 2024 11:12:22 +0100 Subject: [PATCH] Revert "Replace get latest action with up-to-date action" This reverts commit 8eb682e80a0a1fd12381ab3be13204629f450b80. --- .github/workflows/cicd-data-processing.yml | 2 +- .github/workflows/cicd.yml | 2 +- .github/workflows/push_to_nexus.yml | 7 ++++--- .github/workflows/trivy.yml | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cicd-data-processing.yml b/.github/workflows/cicd-data-processing.yml index 842f8991c5..b76f223d16 100644 --- a/.github/workflows/cicd-data-processing.yml +++ b/.github/workflows/cicd-data-processing.yml @@ -22,7 +22,7 @@ jobs: - name: Get last release version id: lastrelease - uses: rez0n/actions-github-release@main + uses: pozetroninc/github-action-get-latest-release@master with: repository: mtes-mct/monitorfish diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 445f40427e..24b1671cd6 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -36,7 +36,7 @@ jobs: run: echo ${{ contains(github.ref, 'dependabot') }} - name: Get last release version id: lastrelease - uses: rez0n/actions-github-release@main + uses: pozetroninc/github-action-get-latest-release@master with: repository: mtes-mct/monitorfish diff --git a/.github/workflows/push_to_nexus.yml b/.github/workflows/push_to_nexus.yml index 300e78abf5..6319fda6c7 100644 --- a/.github/workflows/push_to_nexus.yml +++ b/.github/workflows/push_to_nexus.yml @@ -7,9 +7,9 @@ name: Push docker image to DAM-SI on: workflow_dispatch: version: - description: "Version number" + description: 'Version number' required: true - default: "v1.0.0" + default: 'v1.0.0' permissions: contents: read @@ -23,7 +23,7 @@ jobs: steps: - name: Get last release version id: lastrelease - uses: rez0n/actions-github-release@main + uses: pozetroninc/github-action-get-latest-release@master with: repository: mtes-mct/monitorfish - id: version @@ -57,3 +57,4 @@ jobs: echo "${{ secrets.NEXUS_PASSWORD }}" | docker login https://depot-sml.din.developpement-durable.gouv.fr:6010 -u monitorfish --password-stdin docker tag ghcr.io/mtes-mct/monitorfish/monitorfish-app:$VERSION monitorfish/monitorfish-app:$VERSION docker push depot-sml.din.developpement-durable.gouv.fr:6010/monitorfish/monitorfish-app:$VERSION + diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index aca9bff81d..e34182dd8c 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -7,9 +7,9 @@ name: Trivy on: workflow_dispatch: version: - description: "Version number" + description: 'Version number' required: true - default: "v1.0.0" + default: 'v1.0.0' permissions: contents: read @@ -23,7 +23,7 @@ jobs: steps: - name: Get last release version id: lastrelease - uses: rez0n/actions-github-release@main + uses: pozetroninc/github-action-get-latest-release@master with: repository: mtes-mct/monitorfish - id: version