diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index db8682b..57fe087 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -10,7 +10,7 @@ when: steps: - name: build - image: docker.io/techknowlogick/xgo:go-1.21.x + image: docker.io/techknowlogick/xgo:go-1.22.x commands: - ln -s $(pwd) /source - make release diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 8f1aa89..a282c9a 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -10,11 +10,11 @@ when: steps: - name: lint - image: docker.io/library/golang:1.21 + image: docker.io/library/golang:1.22 commands: - make lint - name: test - image: docker.io/library/golang:1.21 + image: docker.io/library/golang:1.22 commands: - make test diff --git a/Containerfile.multiarch b/Containerfile.multiarch index 8a73943..e3d4eff 100644 --- a/Containerfile.multiarch +++ b/Containerfile.multiarch @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21@sha256:7b575fe0d9c2e01553b04d9de8ffea6d35ca3ab3380d2a8db2acc8f0f1519a53 as build +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22@sha256:ef61a20960397f4d44b0e729298bf02327ca94f1519239ddc6d91689615b1367 as build ARG TARGETOS ARG TARGETARCH diff --git a/Makefile b/Makefile index 9bb7a8e..5353b0b 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest GOTESTSUM_PACKAGE ?= gotest.tools/gotestsum@latest GENERATE ?= -XGO_VERSION := go-1.21.x +XGO_VERSION := go-1.22.x XGO_TARGETS ?= linux/amd64,linux/arm-6,linux/arm-7,linux/arm64 TARGETOS ?= linux diff --git a/go.mod b/go.mod index fe854c6..13404d9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/thegeeklab/wp-s3-action -go 1.21 +go 1.22 require ( github.com/aws/aws-sdk-go v1.50.7