[proxy] Build the UBI image for arm64 and give its CI tags a suffix

The tag-and-push step mapped the UBI proxy image to the same pr-N, main
and sha-* tags as the distroless image, so whichever was pushed last
replaced the other. Keep a -ubi suffix, as the client variants already do.

License collection now takes a list of architectures and unions the Go
modules across them, matching the client script.
This commit is contained in:
jnfrati
2026-09-23 15:43:37 +02:00
parent 8a1c979bfa
commit c3d514017d
3 changed files with 12 additions and 7 deletions
+3 -1
View File
@@ -302,10 +302,12 @@ jobs:
tag_and_push() {
local src="$1" img_name tag dst variant=""
img_name="${src%%:*}"
# Client variants share a repository, so keep their tag suffixes.
# Variants share a repository with their default image, so keep
# their tag suffixes. Order matters: the first matching pattern wins.
case "$src" in
*-rootless-ubi-amd64) variant="-rootless-ubi" ;;
*-rootless-amd64) variant="-rootless" ;;
*-ubi-amd64) variant="-ubi" ;;
esac
for tag in $(resolve_tags); do
dst="${img_name}:${tag}${variant}"