Skip to content

Commit afe9590

Browse files
committed
ci: Fix binary path
1 parent ce63651 commit afe9590

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.dockerignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
2-
# Ignore build and test binaries.
3-
bin/
4-
testbin/
1+
/dist

.goreleaser.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
version: 2
2+
13
project_name: template-controller
24

35
builds:
4-
- binary: manager
6+
- binary: bin/manager
57
env:
68
- CGO_ENABLED=0
79
id: linux

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM $ARCH_ORG/debian:bullseye-slim
66
# We meed git for kustomize to support overlays from git
77
RUN apt update && apt install git -y && rm -rf /var/lib/apt/lists/*
88

9-
COPY manager /manager
9+
COPY bin/manager /manager
1010
USER 65532:65532
1111

1212
ENTRYPOINT ["/manager"]

0 commit comments

Comments
 (0)