mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-24 15:49:06 +02:00
[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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user