Skip to content

Commit

Permalink
Fix push of latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Dec 7, 2023
1 parent 2534914 commit 53c6ed9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Build
run: podman build --tag "ghcr.io/jsha/unboundtest:${GITHUB_SHA}" .

- name: Tag latest
run: podman tag "ghcr.io/jsha/unboundtest:${GITHUB_SHA}" "ghcr.io/jsha/unboundtest/latest"

- name: Push
run: podman push "ghcr.io/jsha/unboundtest:${GITHUB_SHA}"

- name: Push
run: podman push "ghcr.io/jsha/unboundtest:latest"
- name: Tag latest
run: podman tag "ghcr.io/jsha/unboundtest:${GITHUB_SHA}" "ghcr.io/jsha/unboundtest/latest"

- name: Push latest
run: podman push "ghcr.io/jsha/unboundtest/latest"

0 comments on commit 53c6ed9

Please sign in to comment.