Skip to content

Commit

Permalink
Enable pushing of the image only on master
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Dec 7, 2023
1 parent 0026e91 commit 39287a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
type=sha,format=short,prefix=
type=raw,value=latest,enable={{ is_default_branch }}
- uses: docker/[email protected]
#if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/master' }}
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 39287a7

Please sign in to comment.