From 33b6eb4faaba9ec14e9985a3626252f7f3f8b1c2 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 22 Mar 2023 15:26:29 +0000 Subject: [PATCH] bump buildx and golang (#58) - use golang v1.20 - use buildx v0.10.4 (to have buildkit v0.11.2) Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/58 Reviewed-by: Lauris BH Co-authored-by: 6543 <6543@obermui.de> Co-committed-by: 6543 <6543@obermui.de> --- .woodpecker.yml | 2 +- Dockerfile.multiarch | 4 ++-- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 8881bae..98490a8 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,6 @@ variables: - &platforms 'linux/amd64,linux/arm64' - - &golang 'golang:1.18' + - &golang 'golang:1.20' - &build_plugin 'woodpeckerci/plugin-docker-buildx:2' pipeline: diff --git a/Dockerfile.multiarch b/Dockerfile.multiarch index 28c7eb5..f49ef96 100644 --- a/Dockerfile.multiarch +++ b/Dockerfile.multiarch @@ -1,6 +1,6 @@ -ARG BUILDX_VERSION=0.9.1 +ARG BUILDX_VERSION=0.10.4 ARG DOCKER_VERSION=20.10-dind -ARG GOLANG_VERSION=1.18 +ARG GOLANG_VERSION=1.20 FROM --platform=$BUILDPLATFORM golang:${GOLANG_VERSION} as build diff --git a/go.mod b/go.mod index adfd5ea..a4d778a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module codeberg.org/woodpecker-plugins/plugin-docker-buildx -go 1.18 +go 1.20 require ( codeberg.org/6543/go-yaml2json v0.3.0