Merge pull request #4431 from thaJeztah/23.0_backport_update_buildx

[23.0 backport] Dockerfile: update gotestsum to v1.10.0, buildx v0.11.1
This commit is contained in:
Sebastiaan van Stijn 2023-07-17 11:59:04 +02:00 committed by GitHub
commit 86dd4c7172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ ARG GO_VERSION=1.19.10
ARG ALPINE_VERSION=3.17
ARG XX_VERSION=1.1.1
ARG GOVERSIONINFO_VERSION=v1.3.0
ARG GOTESTSUM_VERSION=v1.8.2
ARG BUILDX_VERSION=0.10.4
ARG GOTESTSUM_VERSION=v1.10.0
ARG BUILDX_VERSION=0.11.1
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx

View File

@ -3,7 +3,7 @@
ARG GO_VERSION=1.19.10
ARG ALPINE_VERSION=3.17
ARG BUILDX_VERSION=0.10.4
ARG BUILDX_VERSION=0.11.1
FROM docker/buildx-bin:${BUILDX_VERSION} AS buildx
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS golang
@ -18,7 +18,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
&& gofumpt --version
FROM golang AS gotestsum
ARG GOTESTSUM_VERSION=v1.8.2
ARG GOTESTSUM_VERSION=v1.10.0
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
--mount=type=tmpfs,target=/go/src/ \