ci(merge): fix alternate registry target image

This commit is contained in:
Julien Neuhart
2025-01-31 15:38:14 +01:00
parent 27ecb4fe49
commit 85c7f2806f

View File

@@ -92,7 +92,7 @@ run_cmd() {
echo "➡️ $target pushed" echo "➡️ $target pushed"
echo echo
if [ -n "$alternate_registry" ]; then if [ -n "$alternate_registry" ]; then
alternate_target="${target//$DOCKER_REGISTRY/$alternate_registry}" alternate_target="${target//$DOCKER_REGISTRY:$DOCKER_REPOSITORY/$alternate_registry:$DOCKER_REPOSITORY}"
cmd="docker buildx imagetools create \ cmd="docker buildx imagetools create \
-t $target \ -t $target \
$alternate_target $alternate_target