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