We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06eeed5 commit 6ccf82bCopy full SHA for 6ccf82b
.github/workflows/reusable-docker-build-push.yaml
@@ -62,7 +62,7 @@ jobs:
62
ghcr.io/agntcy/agp/${{ inputs.image-name }}
63
tags: |
64
type=raw,value=${{ inputs.image-tag }}
65
- type=raw,value=latest,enable={{is_default_branch}}
+ type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
66
67
- name: Build and push
68
uses: docker/bake-action@a4d7f0b5b91c14a296d792d4ec53a9db17f02e67 # v5.5.0
0 commit comments