Skip to content

Commit

Permalink
Ensure images created by scheduled jobs get a unique name
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Jun 20, 2024
1 parent e7c6659 commit b3a03d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

- name: 'Generate image name'
id: image
run: echo "image=registry.fly.io/prereview-stats:${{ github.sha }}" >> $GITHUB_OUTPUT
run: echo "image=registry.fly.io/prereview-stats:${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}" >> $GITHUB_OUTPUT

- name: 'Tag image'
run: docker tag ${{ needs.build-image.outputs.image }} ${{ steps.image.outputs.image }}
Expand Down

0 comments on commit b3a03d6

Please sign in to comment.