Skip to content

Commit

Permalink
Again try to fix kubectl arm64 checksum (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
Itxaka authored Oct 23, 2023
1 parent 3eec259 commit 6d6cae5
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions packages/utils/kubectl/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ requires:
package_dir: /kubectl

steps:
- |
apk add bash && \
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/release/v$PACKAGE_VERSION/bin/linux/{{.Values.arch}}/kubectl.sha256" && \
cat kubectl.sha256 && \
ls -liah && \
/bin/bash -c 'echo "$(<kubectl.sha256) kubectl" | sha256sum -c' && \
mv kubectl /kubectl/usr/bin && \
chmod +x /kubectl/usr/bin/kubectl
- apk add bash
- mkdir -p /kubectl/usr/bin
- PACKAGE_VERSION=${PACKAGE_VERSION%\+*} && curl -LO "https://dl.k8s.io/release/v$PACKAGE_VERSION/bin/linux/{{.Values.arch}}/kubectl"
- PACKAGE_VERSION=${PACKAGE_VERSION%\+*} && curl -LO "https://dl.k8s.io/release/v$PACKAGE_VERSION/bin/linux/{{.Values.arch}}/kubectl.sha256"
- cat kubectl.sha256
- sha256sum ./kubectl
- ls -liah
- /bin/bash -c 'echo "$(<kubectl.sha256) kubectl" | sha256sum -c'
- mv kubectl /kubectl/usr/bin
- chmod +x /kubectl/usr/bin/kubectl

0 comments on commit 6d6cae5

Please sign in to comment.