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