From 0c838f527cbe6ec695c799150978bfbc25752b2e Mon Sep 17 00:00:00 2001 From: "bot-ahsoka[bot]" Date: Fri, 8 Mar 2024 01:20:40 +0000 Subject: [PATCH] fix(container): update image docker.io/library/golang to v1.22.1 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5226b8d..a6f2bba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ############################################################################### # BEGIN build-stage # Compile the binary -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22.0@sha256:7b297d9abee021bab9046e492506b3c2da8a3722cbf301653186545ecc1e00bb AS build-stage +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22.1@sha256:34ce21a9696a017249614876638ea37ceca13cdd88f582caad06f87a8aa45bf3 AS build-stage ARG BUILDPLATFORM ARG TARGETARCH @@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH="${TARGETARCH}" go build -ldflags="-w -s" -o ############################################################################### # BEGIN test-stage # Run the tests in the container -FROM docker.io/library/golang:1.22.0@sha256:7b297d9abee021bab9046e492506b3c2da8a3722cbf301653186545ecc1e00bb AS test-stage +FROM docker.io/library/golang:1.22.1@sha256:34ce21a9696a017249614876638ea37ceca13cdd88f582caad06f87a8aa45bf3 AS test-stage WORKDIR /app