Skip to content

Commit 3725e1c

Browse files
authored
ci: added latest-ubi tag to build process (#2491)
Signed-off-by: Tomer Figenblat <tfigenbl@redhat.com>
1 parent 2ee454b commit 3725e1c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/image-build-and-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ jobs:
187187
images: ${{ env.BASE_REPO }}
188188
tags: |
189189
type=raw,value=${{ steps.version-string.outputs.tag }}-ubi
190+
type=raw,value=latest-ubi,enable=${{ startsWith(github.ref, 'refs/tags/') }}
190191
labels: |
191192
name=toolhive-operator
192193
vendor=Stacklok
@@ -240,6 +241,7 @@ jobs:
240241
# Sign the latest tag if building from a tag
241242
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
242243
cosign sign -y $BASE_REPO:latest
244+
cosign sign -y $BASE_REPO:latest-ubi
243245
fi
244246
245247
proxyrunner-image-build-and-publish:
@@ -286,6 +288,7 @@ jobs:
286288
images: ${{ env.BASE_REPO }}
287289
tags: |
288290
type=raw,value=${{ steps.version-string.outputs.tag }}-ubi
291+
type=raw,value=latest-ubi,enable=${{ startsWith(github.ref, 'refs/tags/') }}
289292
labels: |
290293
name=toolhive-proxyrunner
291294
vendor=Stacklok
@@ -337,6 +340,7 @@ jobs:
337340
# Sign the latest tag if building from a tag
338341
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
339342
cosign sign -y $BASE_REPO:latest
343+
cosign sign -y $BASE_REPO:latest-ubi
340344
fi
341345
342346
vmcp-image-build-and-publish:

0 commit comments

Comments
 (0)