Skip to content

Commit 2ca412c

Browse files
committed
fix release tag
1 parent 859a264 commit 2ca412c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
platforms: linux/amd64,linux/arm64
137137
tags: |
138138
ghcr.io/commit-boost/pbs:${{ github.ref_name }}
139-
ghcr.io/commit-boost/pbs:latest
139+
${{ !contains(github.ref_name, 'rc') && 'ghcr.io/commit-boost/pbs:latest' || '' }}
140140
cache-from: type=registry,ref=ghcr.io/commit-boost/pbs:buildcache
141141
cache-to: type=registry,ref=ghcr.io/commit-boost/pbs:buildcache,mode=max
142142
file: provisioning/pbs.Dockerfile
@@ -172,7 +172,7 @@ jobs:
172172
platforms: linux/amd64,linux/arm64
173173
tags: |
174174
ghcr.io/commit-boost/signer:${{ github.ref_name }}
175-
ghcr.io/commit-boost/signer:latest
175+
${{ !contains(github.ref_name, 'rc') && 'ghcr.io/commit-boost/signer:latest' || '' }}
176176
cache-from: type=registry,ref=ghcr.io/commit-boost/signer:buildcache
177177
cache-to: type=registry,ref=ghcr.io/commit-boost/signer:buildcache,mode=max
178178
file: provisioning/signer.Dockerfile

0 commit comments

Comments
 (0)