Skip to content

Commit

Permalink
Fix (ci): Push :latest tag on tagged release
Browse files Browse the repository at this point in the history
Fixes bug in #14, resulting in `:latest` not being tagged on `v0.1.0`
  • Loading branch information
leojonathanoh committed Mar 26, 2023
1 parent 9935236 commit 7960566
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 @@ -81,7 +81,7 @@ jobs:
env:
DOCKERHUB_REGISTRY_USER: ${{ secrets.DOCKERHUB_REGISTRY_USER }}
run: |
make buildx-image "REGISTRY_USER=$DOCKERHUB_REGISTRY_USER" "BUILDX_PUSH=${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}"
make buildx-image "REGISTRY_USER=$DOCKERHUB_REGISTRY_USER" "BUILDX_TAG_LATEST={{ startsWith(github.ref, 'refs/tags/') }}" "BUILDX_PUSH=${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}"
update-draft-release:
needs: [build,test,docker]
Expand Down

0 comments on commit 7960566

Please sign in to comment.