mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-11 04:42:21 +00:00
🐛 Fixup kubectl build
This commit is contained in:
parent
531d358083
commit
ab434559d6
@ -7,7 +7,13 @@ package_dir: /kubectl
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- |
|
- |
|
||||||
|
apk add bash && \
|
||||||
PACKAGE_VERSION=${PACKAGE_VERSION%\+*} && \
|
PACKAGE_VERSION=${PACKAGE_VERSION%\+*} && \
|
||||||
mkdir -p /kubectl/usr/bin && \
|
mkdir -p /kubectl/usr/bin && \
|
||||||
curl -L https://storage.googleapis.com/kubernetes-release/release/v${PACKAGE_VERSION}/bin/linux/{{.Values.arch}}/kubectl -o /kubectl/usr/bin/kubectl && \
|
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" && \
|
||||||
|
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
|
chmod +x /kubectl/usr/bin/kubectl
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
name: kubectl
|
name: kubectl
|
||||||
category: container
|
category: container
|
||||||
version: "1.23.1+0"
|
version: "1.23.4+0"
|
||||||
|
arch: "amd64"
|
||||||
labels:
|
labels:
|
||||||
github.repo: "kubectl"
|
github.repo: "kubectl"
|
||||||
github.owner: "kubernetes"
|
github.owner: "kubernetes"
|
||||||
@ -9,7 +10,7 @@ labels:
|
|||||||
autobump.prefix: "prefix"
|
autobump.prefix: "prefix"
|
||||||
autobump.hook: "curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt | sed 's/v//'"
|
autobump.hook: "curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt | sed 's/v//'"
|
||||||
autobump.version_hook: "curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt | sed 's/v//'"
|
autobump.version_hook: "curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt | sed 's/v//'"
|
||||||
package.version: "1.23.1"
|
package.version: "1.23.4"
|
||||||
uri:
|
uri:
|
||||||
- https://github.com/kubernetes/kubernetes
|
- https://github.com/kubernetes/kubernetes
|
||||||
- https://kubernetes.io
|
- https://kubernetes.io
|
||||||
|
Loading…
Reference in New Issue
Block a user