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 <lafriks@noreply.codeberg.org>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
This commit is contained in:
6543 2023-03-22 15:26:29 +00:00 committed by Lauris BH
parent ee3adee4d4
commit 33b6eb4faa
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
variables: variables:
- &platforms 'linux/amd64,linux/arm64' - &platforms 'linux/amd64,linux/arm64'
- &golang 'golang:1.18' - &golang 'golang:1.20'
- &build_plugin 'woodpeckerci/plugin-docker-buildx:2' - &build_plugin 'woodpeckerci/plugin-docker-buildx:2'
pipeline: pipeline:

View File

@ -1,6 +1,6 @@
ARG BUILDX_VERSION=0.9.1 ARG BUILDX_VERSION=0.10.4
ARG DOCKER_VERSION=20.10-dind ARG DOCKER_VERSION=20.10-dind
ARG GOLANG_VERSION=1.18 ARG GOLANG_VERSION=1.20
FROM --platform=$BUILDPLATFORM golang:${GOLANG_VERSION} as build FROM --platform=$BUILDPLATFORM golang:${GOLANG_VERSION} as build

2
go.mod
View File

@ -1,6 +1,6 @@
module codeberg.org/woodpecker-plugins/plugin-docker-buildx module codeberg.org/woodpecker-plugins/plugin-docker-buildx
go 1.18 go 1.20
require ( require (
codeberg.org/6543/go-yaml2json v0.3.0 codeberg.org/6543/go-yaml2json v0.3.0