diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a5f37f1f8e..0905ed3af1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -153,6 +153,7 @@ jobs: dist/kubectl-argo-rollouts-linux-amd64 dist/kubectl-argo-rollouts-linux-arm64 dist/kubectl-argo-rollouts-darwin-amd64 + dist/kubectl-argo-rollouts-darwin-arm64 dist/kubectl-argo-rollouts-windows-amd64 manifests/dashboard-install.yaml manifests/install.yaml diff --git a/Makefile b/Makefile index df2542169b..1dd075d9e3 100644 --- a/Makefile +++ b/Makefile @@ -169,6 +169,7 @@ plugin-linux: ui/dist plugin-darwin: ui/dist cp -r ui/dist/app/* server/static CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -v -i -ldflags '${LDFLAGS}' -o ${DIST_DIR}/${PLUGIN_CLI_NAME}-darwin-amd64 ./cmd/kubectl-argo-rollouts + CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -v -i -ldflags '${LDFLAGS}' -o ${DIST_DIR}/${PLUGIN_CLI_NAME}-darwin-arm64 ./cmd/kubectl-argo-rollouts .PHONY: plugin-windows plugin-windows: ui/dist diff --git a/hack/build-release-plugins.sh b/hack/build-release-plugins.sh index 00f86b7b98..db5bcdbea7 100755 --- a/hack/build-release-plugins.sh +++ b/hack/build-release-plugins.sh @@ -11,7 +11,7 @@ DOCKER_BUILDKIT=1 docker build --iidfile ${rollout_iid_file} --build-arg MAKE_TA rollout_iid=$(cat ${rollout_iid_file}) container_id=$(docker create ${rollout_iid}) -for plat in linux-amd64 linux-arm64 darwin-amd64 windows-amd64; do +for plat in linux-amd64 linux-arm64 darwin-amd64 darwin-arm64 windows-amd64; do docker cp ${container_id}:/go/src/github.com/argoproj/argo-rollouts/dist/kubectl-argo-rollouts-${plat} ${SRCROOT}/dist done docker rm -v ${container_id}