Skip to content

Commit c602118

Browse files
committed
ci: only tag with latest when running on main branch
1 parent 0d652fb commit c602118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-rpc-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
tags: |
2121
type=ref,event=tag
2222
type=ref,event=pr
23-
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
23+
type=raw,value=latest,enable={{is_default_branch}}
2424
labels: |
2525
maintainer=bitcoindevproject
2626
org.opencontainers.image.title=warnet-rpc

0 commit comments

Comments
 (0)