Skip to content

Commit

Permalink
Prevent the creation of the main tag on Docker Hub (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikverma2000 authored Oct 16, 2023
1 parent 5334023 commit b6c9b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
rob93c/stickerify
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=ref,event=branch,enable=${{ github.ref != 'refs/heads/main' }}
type=ref,event=pr
- name: Upload Docker image
Expand Down

0 comments on commit b6c9b61

Please sign in to comment.