Skip to content

Commit

Permalink
Push docker image on release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns committed Jan 22, 2025
1 parent f00bfe8 commit 1ec60ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{github.ref == 'refs/heads/main'}} # only push on main branch
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }} # only push on main branch or release tag
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand Down

0 comments on commit 1ec60ea

Please sign in to comment.