diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 43bfb5d9819..a8482b4c1d7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -171,8 +171,18 @@ jobs: run: GOARCH=arm64 make bin - name: Build Antrea binaries for arm run: GOARCH=arm make bin - - name: Build antctl binaries - run: make antctl + - name: Build antctl binary for linux amd64 + run: GOOS=linux GOARCH=amd64 make antctl + - name: Build antctl binary for linux arm64 + run: GOOS=linux GOARCH=arm64 make antctl + - name: Build antctl binary for linux arm + run: GOOS=linux GOARCH=arm make antctl + - name: Build antctl binary for windows amd64 + run: GOOS=windows GOARCH=amd64 make antctl + - name: Build antctl binary for darwin amd64 + run: GOOS=darwin GOARCH=amd64 make antctl + - name: Build antctl binary for darwin arm64 + run: GOOS=darwin GOARCH=arm64 make antctl - name: Build Multi-cluster binaries run: | cd multicluster diff --git a/Makefile b/Makefile index 01e5c474345..47c9fd71c79 100644 --- a/Makefile +++ b/Makefile @@ -258,7 +258,7 @@ $(ANTCTL_BINARIES): antctl-%: fi .PHONY: antctl -antctl: $(ANTCTL_BINARIES) +antctl: antctl-release .PHONY: antctl-release antctl-release: