update build for darwin arm64 (#7941)
This commit is contained in:
parent
0545986293
commit
8c722557f0
2 changed files with 11 additions and 0 deletions
|
@ -79,5 +79,6 @@ sed -i "s/%%%tag%%%/${TAG}/g" ${release}/ingress-nginx.yaml
|
|||
echo "Generated targets in ${release} directory."
|
||||
|
||||
build_for_arch darwin amd64 ''
|
||||
build_for_arch darwin arm64 ''
|
||||
build_for_arch linux amd64 ''
|
||||
build_for_arch windows amd64 '.exe'
|
||||
|
|
|
@ -9,6 +9,16 @@ spec:
|
|||
version: v%%%tag%%%
|
||||
homepage: https://kubernetes.github.io/ingress-nginx/kubectl-plugin/
|
||||
platforms:
|
||||
- uri: https://github.com/kubernetes/ingress-nginx/releases/download/nginx-%%%tag%%%/kubectl-ingress_nginx-darwin-arm64.tar.gz
|
||||
sha256: %%%shasum_darwin_arm64%%%
|
||||
files:
|
||||
- from: "*"
|
||||
to: "."
|
||||
bin: "./kubectl-ingress_nginx"
|
||||
selector:
|
||||
matchLabels:
|
||||
os: darwin
|
||||
arch: arm64
|
||||
- uri: https://github.com/kubernetes/ingress-nginx/releases/download/nginx-%%%tag%%%/kubectl-ingress_nginx-darwin-amd64.tar.gz
|
||||
sha256: %%%shasum_darwin_amd64%%%
|
||||
files:
|
||||
|
|
Loading…
Reference in a new issue