mirror of
https://code.thetadev.de/actions/kaniko.git
synced 2026-04-28 18:51:43 +00:00
fix: add support for other architectures
This commit is contained in:
@@ -102,6 +102,17 @@ if [ -n "$INPUT_PLATFORMS" ]; then
|
|||||||
|
|
||||||
case "$targetarch" in
|
case "$targetarch" in
|
||||||
'amd64') targetarchAlt="x86_64" ;;
|
'amd64') targetarchAlt="x86_64" ;;
|
||||||
|
'arm64') targetarchAlt="aarch64" ;;
|
||||||
|
'i386') targetarchAlt="i686" ;;
|
||||||
|
'386') targetarchAlt="i686" ;;
|
||||||
|
'ppc64le') targetarchAlt="powerpc64le" ;;
|
||||||
|
'arm')
|
||||||
|
case "$targetvariant" in
|
||||||
|
'v5') targetarchAlt="armv5te" ;;
|
||||||
|
'v7') targetarchAlt="armv7" ;;
|
||||||
|
*) targetarchAlt="arm" ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
*) targetarchAlt="$targetarch" ;;
|
*) targetarchAlt="$targetarch" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user