Skip to content

Commit

Permalink
ci(build-and-push.yml): add 'latest' tag to Docker image to ensure th…
Browse files Browse the repository at this point in the history
…e most recent build is always accessible
  • Loading branch information
rtuszik committed Sep 4, 2024
1 parent 717fe1a commit 32e43d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
build-args: |
PHOTON_VERSION=${{ github.event.inputs.release_tag }}
push: true
tags: rtuszik/photon-docker:${{ github.event.inputs.release_tag }}
tags: |
rtuszik/photon-docker:${{ github.event.inputs.release_tag }}
rtuszik/photon-docker:latest
- name: Store the latest release
run: echo ${{ github.event.inputs.release_tag }} > .last_release
Expand Down

0 comments on commit 32e43d4

Please sign in to comment.