From 7f7f468e987b617801b52ba82acd79cf985ffc4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Falconnier?= Date: Fri, 7 Jun 2024 05:27:33 +0200 Subject: [PATCH] Update base docker image for golang 1.21.11 (#1029) The base docker images are pinned to go 1.21. With 8fd553a, this breaks the GitHub reusable workflows. This PR pins the images to [the official 1.21.11 one](https://hub.docker.com/layers/library/golang/1.21.11-alpine3.19/images/sha256-6c5f76c897971f1b6ff0e447941440889016b18805812660a83b5275e862298d?context=explore). This should fix the issue. --- Dockerfile | 2 +- action.dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a811fba3c..29f0d39872 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.21-alpine3.19@sha256:1c2e4747a1b15fe65c8317bca9bd91611b29fe7c8b65009b9edbee7653e62614 AS builder +FROM golang:1.21-alpine3.19@sha256:599a9bb95e8b9bb61522609b850c90977ceadbe5e973fa51e814e5c4fa9d5667 AS builder WORKDIR /src COPY ./go.mod ./go.sum ./ diff --git a/action.dockerfile b/action.dockerfile index 6e0c71e215..5da7c3a850 100644 --- a/action.dockerfile +++ b/action.dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.21-alpine3.19@sha256:1c2e4747a1b15fe65c8317bca9bd91611b29fe7c8b65009b9edbee7653e62614 +FROM golang:1.21-alpine3.19@sha256:599a9bb95e8b9bb61522609b850c90977ceadbe5e973fa51e814e5c4fa9d5667 RUN mkdir /src WORKDIR /src