From efa8647166db70b9d8c136eb1be8830eb05ff357 Mon Sep 17 00:00:00 2001 From: clawbot Date: Tue, 17 Mar 2026 02:26:35 -0700 Subject: [PATCH] fix: use make build instead of inline go build in Dockerfile REPO_POLICIES requires using Makefile targets instead of invoking tools directly. Replace inline go build with make build. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1df7659..6e3c3a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ RUN go mod download COPY . . RUN make test -RUN CGO_ENABLED=1 go build -v -ldflags "-X 'git.eeqj.de/sneak/secret/internal/cli.Version=0.1.0' -X 'git.eeqj.de/sneak/secret/internal/cli.GitCommit=$(git rev-parse HEAD)'" -o secret cmd/secret/main.go +RUN make build # Runtime stage # alpine 3.23 (2026-03-10)