Skip to content

Commit

Permalink
ci: Rename binary to template-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Jul 8, 2024
1 parent 9a432c5 commit 6763093
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
project_name: template-controller

builds:
- binary: bin/manager
- binary: bin/template-controller
env:
- CGO_ENABLED=0
id: linux
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM $ARCH_ORG/debian:bullseye-slim
# We meed git for kustomize to support overlays from git
RUN apt update && apt install git -y && rm -rf /var/lib/apt/lists/*

COPY bin/manager /manager
COPY bin/template-controller /usr/bin/
USER 65532:65532

ENTRYPOINT ["/manager"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ build: generate fmt vet build-bin ## Build manager binary.

.PHONY: build-bin
build-bin: ## Build manager binary.
go build -o bin/manager main.go
go build -o bin/template-controller main.go

.PHONY: run
run: manifests generate fmt vet ## Run a controller from your host.
Expand Down

0 comments on commit 6763093

Please sign in to comment.