Try to fix the checksum for kubectl (#510)

This commit is contained in:
Itxaka 2023-10-23 14:28:17 +02:00 committed by GitHub
parent 900033bf74
commit 3eec259cc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ steps:
PACKAGE_VERSION=${PACKAGE_VERSION%\+*} && \
mkdir -p /kubectl/usr/bin && \
curl -LO "https://dl.k8s.io/release/v$PACKAGE_VERSION/bin/linux/{{.Values.arch}}/kubectl" && \
curl -LO "https://dl.k8s.io/v$PACKAGE_VERSION/bin/linux/{{.Values.arch}}/kubectl.sha256" && \
curl -LO "https://dl.k8s.io/release/v$PACKAGE_VERSION/bin/linux/{{.Values.arch}}/kubectl.sha256" && \
cat kubectl.sha256 && \
ls -liah && \
/bin/bash -c 'echo "$(<kubectl.sha256) kubectl" | sha256sum -c' && \