Skip to content

Commit 6ccf82b

Browse files
authored
ci(release-docker): fix default tag (#32)
Signed-off-by: Mauro Sardara <[email protected]>
1 parent 06eeed5 commit 6ccf82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable-docker-build-push.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
ghcr.io/agntcy/agp/${{ inputs.image-name }}
6363
tags: |
6464
type=raw,value=${{ inputs.image-tag }}
65-
type=raw,value=latest,enable={{is_default_branch}}
65+
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
6666
6767
- name: Build and push
6868
uses: docker/bake-action@a4d7f0b5b91c14a296d792d4ec53a9db17f02e67 # v5.5.0

0 commit comments

Comments
 (0)