From 3a2036567efee08fe402ee4caac0225e404d1080 Mon Sep 17 00:00:00 2001 From: "bot-ahsoka[bot]" Date: Fri, 9 Feb 2024 01:19:53 +0000 Subject: [PATCH] feat(container): update image docker.io/library/golang to v1.22.0 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5fe3914..5d8deef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ############################################################################### # BEGIN build-stage # Compile the binary -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21.6@sha256:7b575fe0d9c2e01553b04d9de8ffea6d35ca3ab3380d2a8db2acc8f0f1519a53 AS build-stage +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22.0@sha256:ef61a20960397f4d44b0e729298bf02327ca94f1519239ddc6d91689615b1367 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.21.6@sha256:7b575fe0d9c2e01553b04d9de8ffea6d35ca3ab3380d2a8db2acc8f0f1519a53 AS test-stage +FROM docker.io/library/golang:1.22.0@sha256:ef61a20960397f4d44b0e729298bf02327ca94f1519239ddc6d91689615b1367 AS test-stage WORKDIR /app