Skip to content

Commit

Permalink
Mark image as the latest image when built on the master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Oct 25, 2024
1 parent fa5399c commit 9e4950e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-test-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ jobs:
run: |
docker tag $(<iid) rootmos/silly-joy:$GITHUB_SHA
docker push rootmos/silly-joy:$GITHUB_SHA
- name: Mark as latest image
if: github.ref_name == 'master'
run: |
docker tag $(<iid) rootmos/silly-joy:latest
docker push rootmos/silly-joy:latest

0 comments on commit 9e4950e

Please sign in to comment.