push-all: move verbose output

To help debug #6
This commit is contained in:
zimbatm 2019-12-16 11:03:05 +01:00
parent c45c53b8c4
commit 18d25bb382
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -13,8 +13,10 @@ echo "=== Pushing images to $registry"
for attr in $(echo "$releases_json" | jq -r "keys[]") ; do for attr in $(echo "$releases_json" | jq -r "keys[]") ; do
file=$(echo "$releases_json" | jq -r ".\"$attr\"") file=$(echo "$releases_json" | jq -r ".\"$attr\"")
echo "--- $attr -> $file" src=docker-archive://$file
skopeo copy "docker-archive://$file" "docker://$registry/$image_prefix/$attr:$image_tag" dst=docker://$registry/$image_prefix/$attr:$image_tag
echo "--- attr=$attr src=$src dst=$dst"
skopeo copy "$src" "$dst"
done done
echo OK echo OK