Skip to content

Commit

Permalink
Replace get latest action with up-to-date action
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Feb 5, 2024
1 parent 37fba2a commit 8eb682e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd-data-processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Get last release version
id: lastrelease
uses: pozetroninc/github-action-get-latest-release@master
uses: rez0n/actions-github-release@main
with:
repository: mtes-mct/monitorfish

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: echo ${{ contains(github.ref, 'dependabot') }}
- name: Get last release version
id: lastrelease
uses: pozetroninc/github-action-get-latest-release@master
uses: rez0n/actions-github-release@main
with:
repository: mtes-mct/monitorfish

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/push_to_nexus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +23,7 @@ jobs:
steps:
- name: Get last release version
id: lastrelease
uses: pozetroninc/github-action-get-latest-release@master
uses: rez0n/actions-github-release@main
with:
repository: mtes-mct/monitorfish
- id: version
Expand Down Expand Up @@ -57,4 +57,3 @@ 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
6 changes: 3 additions & 3 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +23,7 @@ jobs:
steps:
- name: Get last release version
id: lastrelease
uses: pozetroninc/github-action-get-latest-release@master
uses: rez0n/actions-github-release@main
with:
repository: mtes-mct/monitorfish
- id: version
Expand Down

0 comments on commit 8eb682e

Please sign in to comment.