mirror of
https://code.thetadev.de/actions/kaniko.git
synced 2026-04-28 20:31:43 +00:00
fix: update platformFn
This commit is contained in:
@@ -105,8 +105,10 @@ if [ -n "$INPUT_PLATFORMS" ]; then
|
|||||||
|
|
||||||
DIGESTS=""
|
DIGESTS=""
|
||||||
for platform in $platformArray; do
|
for platform in $platformArray; do
|
||||||
|
platformFn=$(echo "$platform" | sed 's#/#-#g')
|
||||||
digest=$(head -n 1 "/build/${platformFn}_image-tag-digest")
|
digest=$(head -n 1 "/build/${platformFn}_image-tag-digest")
|
||||||
echo "pushing img $digest"
|
|
||||||
|
echo "Pushing $platform img $digest"
|
||||||
crane push "/build/${platformFn}.tar" "$digest"
|
crane push "/build/${platformFn}.tar" "$digest"
|
||||||
DIGESTS="$DIGESTS -m $digest"
|
DIGESTS="$DIGESTS -m $digest"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user