From e1359bce5ebdc6fc1da228f670fc2cba3cbde926 Mon Sep 17 00:00:00 2001 From: Bence Csati Date: Tue, 17 Dec 2024 11:36:57 +0100 Subject: [PATCH 1/2] chore: remove global config Signed-off-by: Bence Csati --- renovate.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/renovate.json b/renovate.json index 55b1d1a..ec673c4 100644 --- a/renovate.json +++ b/renovate.json @@ -7,7 +7,6 @@ "schedule:daily", "group:all" ], - "allowedPostUpgradeCommands": ["^make (tidy|generate)$"], "configMigration": true, "constraints": { "go": "1.23" @@ -80,19 +79,6 @@ "gomodTidy", "gomodUpdateImportPaths" ], - "postUpgradeTasks": { - "commands": [ - "make tidy", - "make generate" - ], - "fileFilters": [ - "**/go.mod", - "**/go.sum", - "**/*.go", - "**/*.yaml" - ], - "executionMode": "branch" - }, "printConfig": false, "rebaseWhen": "behind-base-branch", "semanticCommits": "enabled", From e5156f3de10c53494bfaf8c9dec45dd0d024471a Mon Sep 17 00:00:00 2001 From: Bence Csati Date: Tue, 17 Dec 2024 11:37:13 +0100 Subject: [PATCH 2/2] chore: make renovate detect dockerfile deps Signed-off-by: Bence Csati --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3110e05..fb10545 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.23 AS builder +FROM golang:1.23.3-alpine3.20@sha256:25db3a0508ff009054bf467f25e1ab395fced0f93b69459dd736ae523e61c781 AS builder ARG TARGETOS ARG TARGETARCH @@ -25,7 +25,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM gcr.io/distroless/static:nonroot +FROM gcr.io/distroless/static:nonroot@sha256:6cd937e9155bdfd805d1b94e037f9d6a899603306030936a3b11680af0c2ed58 WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532