Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 44f3cde

Browse files
committed
build(arm64): publish built binaries for linux/arm64
1 parent 3dac447 commit 44f3cde

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cloudbuild.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ steps:
6565
- '-u'
6666
- '$_HNC_USER:$_HNC_PERSONAL_ACCESS_TOKEN'
6767
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/hierarchical-namespaces/releases/$_HNC_RELEASE_ID/assets?name=kubectl-hns_linux_amd64'
68+
# Upload plugin (Linux arm64)
69+
- name: gcr.io/cloud-builders/curl
70+
args:
71+
- '-X'
72+
- 'POST'
73+
- '-H'
74+
- 'Content-Type: application/x-application'
75+
- '--data-binary'
76+
- '@hierarchical-namespaces/bin/kubectl/kubectl-hns_linux_arm64'
77+
- '-u'
78+
- '$_HNC_USER:$_HNC_PERSONAL_ACCESS_TOKEN'
79+
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/hierarchical-namespaces/releases/$_HNC_RELEASE_ID/assets?name=kubectl-hns_linux_arm64'
6880
# Upload plugin (Darwin intel)
6981
- name: gcr.io/cloud-builders/curl
7082
args:

0 commit comments

Comments
 (0)