Generate multi-arch image manifests

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-03-07 19:04:56 +01:00
parent 16594d72d5
commit 1d40cd2059
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
5 changed files with 90 additions and 1 deletions

View file

@ -15,7 +15,7 @@ echo "=== Pushing images to $registry"
for attr in $(echo "$releases_json" | jq -r "keys[]") ; do
file=$(echo "$releases_json" | jq -r ".\"$attr\"")
src=docker-archive://$file
dst=docker://$registry/$image_prefix/$attr:$image_tag
dst=docker://$registry/$image_prefix/$attr:${image_tag}-${system_name}
echo "--- attr=$attr src=$src dst=$dst"
skopeo copy --insecure-policy "$src" "$dst"
done