We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32c65bf commit ecc4f3bCopy full SHA for ecc4f3b
.github/workflows/tests.yml
@@ -98,7 +98,7 @@ jobs:
98
uses: docker/setup-buildx-action@v3
99
- name: Build template-controller
100
run: |
101
- GOARCH=${{ matrix.goarch }} make build
+ GOARCH=${{ matrix.goarch }} make build-bin
102
- name: Build docker images
103
104
docker build -t test-image --platform=${{ matrix.docker_platform }} .
Makefile
@@ -61,7 +61,10 @@ test: manifests generate fmt vet envtest ## Run tests.
61
##@ Build
62
63
.PHONY: build
64
-build: generate fmt vet ## Build manager binary.
+build: generate fmt vet build-bin ## Build manager binary.
65
+
66
+.PHONY: build-bin
67
+build-bin: ## Build manager binary.
68
go build -o bin/manager main.go
69
70
.PHONY: run
0 commit comments