mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-21 08:22:24 +01:00
WIP: retag arch specific container image
This commit is contained in:
parent
50b71d87cb
commit
676467670b
@ -251,7 +251,9 @@ function docker_image_from_registry_or_buildcache() {
|
||||
return
|
||||
fi
|
||||
echo "Final fallback: arch specific container image" >&2
|
||||
docker_image_from_buildcache "${image}" "${version}-$(get_sdk_arch)"
|
||||
if docker_image_from_buildcache "${image}" "${version}-$(get_sdk_arch)"; then
|
||||
$docker tag "${CONTAINER_REGISTRY}/${image}:${version}-$(get_sdk_arch)" "${CONTAINER_REGISTRY}/${image}:${version}"
|
||||
fi
|
||||
}
|
||||
# --
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user