mirror of
https://code.thetadev.de/actions/kaniko.git
synced 2026-04-28 18:51:43 +00:00
add debug print
This commit is contained in:
@@ -103,6 +103,7 @@ if [ -n "$INPUT_PLATFORMS" ]; then
|
||||
DIGESTS=""
|
||||
for platform in $platformArray; do
|
||||
digest=$(head -n 1 "/build/${platformFn}_image-tag-digest")
|
||||
echo "pushing img $digest"
|
||||
crane push "/build/${platformFn}.tar" "$digest"
|
||||
DIGESTS="$DIGESTS -m $digest"
|
||||
done
|
||||
@@ -113,6 +114,7 @@ if [ -n "$INPUT_PLATFORMS" ]; then
|
||||
fi
|
||||
|
||||
manifest_cmd="crane index append $TAGS $DIGESTS"
|
||||
echo "building manifest: $manifest_cmd"
|
||||
IMAGE_TAG_DIGEST=$(eval "$manifest_cmd")
|
||||
else
|
||||
# Build and push image for the default platform
|
||||
|
||||
Reference in New Issue
Block a user