Build arm64 images by default and additionally do not require docker buildx for simple builds

This commit is contained in:
Kamil Trzciński 2022-10-28 07:38:23 +00:00 committed by Andrejs Cunskis
parent 66c6656f97
commit f6a1f0e63f
12 changed files with 128 additions and 84 deletions

View file

@ -6,9 +6,7 @@ HELM_VERSION=${1}
HELM_DOWNLOAD_SHA256=${2}
HELM_DOWNLOAD_URL="https://get.helm.sh/helm-v${HELM_VERSION}-linux-${TARGETARCH:-amd64}.tar.gz"
curl -fsSL "${HELM_DOWNLOAD_URL}" -o helm.tar.gz
echo "${HELM_DOWNLOAD_SHA256} helm.tar.gz" | sha256sum -c -
/scripts/download-file helm.tar.gz "$HELM_DOWNLOAD_URL" $HELM_DOWNLOAD_SHA256
tar -xzf helm.tar.gz --strip-components=1
rm helm.tar.gz