Add arm capability without pushing and building images

This commit is contained in:
Andrejs Cunskis 2022-09-22 08:17:17 +00:00 committed by Balasankar 'Balu' C
parent a467eeb36d
commit 0be7ce1245
16 changed files with 51 additions and 66 deletions

View file

@ -4,7 +4,7 @@ set -xeou pipefail
KUBECTL_VERSION=${1}
KUBECTL_DOWNLOAD_SHA256=${2}
KUBECTL_DOWNLOAD_URL="https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/$(dpkg --print-architecture)/kubectl"
KUBECTL_DOWNLOAD_URL="https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/${TARGETARCH:-amd64}/kubectl"
curl -fsSL "${KUBECTL_DOWNLOAD_URL}" -o kubectl
echo "${KUBECTL_DOWNLOAD_SHA256} kubectl" | sha256sum -c -