Skip to content

Commit

Permalink
ci: Fix binary path
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Jul 9, 2024
1 parent ce63651 commit afe9590
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore build and test binaries.
bin/
testbin/
/dist
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
version: 2

project_name: template-controller

builds:
- binary: manager
- binary: bin/manager
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 manager /manager
COPY bin/manager /manager
USER 65532:65532

ENTRYPOINT ["/manager"]

0 comments on commit afe9590

Please sign in to comment.