From 59839309b36539bea3443454a718d7d792f0d2d2 Mon Sep 17 00:00:00 2001 From: clawbot Date: Tue, 10 Mar 2026 17:49:50 -0700 Subject: [PATCH] fix: use digest-only FROM syntax (no tags) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove tags from FROM lines — use image@sha256:digest only, matching the upaas pattern. tag@sha256 syntax is invalid. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3fd11ee..1df7659 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Lint stage — fast feedback on formatting and lint issues # golangci/golangci-lint v2.1.6 (2026-03-10) -FROM golangci/golangci-lint:v2.1.6@sha256:568ee1c1c53493575fa9494e280e579ac9ca865787bafe4df3023ae59ecf299b AS lint +FROM golangci/golangci-lint@sha256:568ee1c1c53493575fa9494e280e579ac9ca865787bafe4df3023ae59ecf299b AS lint WORKDIR /src COPY go.mod go.sum ./ @@ -13,7 +13,7 @@ RUN make lint # Build stage — tests and compilation # golang 1.24.13-alpine (2026-03-10) -FROM golang:1.24-alpine@sha256:8bee1901f1e530bfb4a7850aa7a479d17ae3a18beb6e09064ed54cfd245b7191 AS builder +FROM golang@sha256:8bee1901f1e530bfb4a7850aa7a479d17ae3a18beb6e09064ed54cfd245b7191 AS builder # Force BuildKit to run the lint stage COPY --from=lint /src/go.sum /dev/null @@ -31,7 +31,7 @@ RUN CGO_ENABLED=1 go build -v -ldflags "-X 'git.eeqj.de/sneak/secret/internal/cl # Runtime stage # alpine 3.23 (2026-03-10) -FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 +FROM alpine@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 RUN apk add --no-cache ca-certificates gnupg