diff --git a/.woodpecker/binaries.yml b/.woodpecker/binaries.yml index 1d8ad144f..d3f5ed299 100644 --- a/.woodpecker/binaries.yml +++ b/.woodpecker/binaries.yml @@ -7,7 +7,7 @@ when: event: tag variables: - - &golang_image 'golang:1.20.2' + - &golang_image 'golang:1.21.1' - &node_image 'node:18-alpine' - &xgo_image 'techknowlogick/xgo:go-1.20.2' - &xgo_version 'go-1.20.2' diff --git a/.woodpecker/docker.yml b/.woodpecker/docker.yml index ac23327cd..334c58263 100644 --- a/.woodpecker/docker.yml +++ b/.woodpecker/docker.yml @@ -10,7 +10,7 @@ depends_on: - web variables: - - &golang_image 'golang:1.20.2' + - &golang_image 'golang:1.21.1' - &node_image 'node:18-alpine' - &xgo_image 'techknowlogick/xgo:go-1.20.2' - &xgo_version 'go-1.20.2' diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 82a2c19db..9db9edcad 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -14,7 +14,7 @@ when: event: cron variables: - - &golang_image 'golang:1.20.2' + - &golang_image 'golang:1.21.1' - &node_image 'node:18-alpine' steps: diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index c816c0d21..fc4d3f4ca 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -6,7 +6,7 @@ when: - release/* variables: - - &golang_image 'golang:1.20.2' + - &golang_image 'golang:1.21.1' - &when - path: &when_path # related config files diff --git a/docker/Dockerfile.agent.alpine.multiarch b/docker/Dockerfile.agent.alpine.multiarch index 494899b25..e26ecfbca 100644 --- a/docker/Dockerfile.agent.alpine.multiarch +++ b/docker/Dockerfile.agent.alpine.multiarch @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.20 AS build +FROM --platform=$BUILDPLATFORM golang:1.21 AS build WORKDIR /src COPY . . diff --git a/docker/Dockerfile.agent.multiarch b/docker/Dockerfile.agent.multiarch index baebcfb67..51a28c5d9 100644 --- a/docker/Dockerfile.agent.multiarch +++ b/docker/Dockerfile.agent.multiarch @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.20 AS build +FROM --platform=$BUILDPLATFORM golang:1.21 AS build WORKDIR /src COPY . . diff --git a/docker/Dockerfile.cli.alpine.multiarch b/docker/Dockerfile.cli.alpine.multiarch index 0a41dd67d..9155e9a7e 100644 --- a/docker/Dockerfile.cli.alpine.multiarch +++ b/docker/Dockerfile.cli.alpine.multiarch @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.20 AS build +FROM --platform=$BUILDPLATFORM golang:1.21 AS build WORKDIR /src COPY . . diff --git a/docker/Dockerfile.cli.multiarch b/docker/Dockerfile.cli.multiarch index 9bdffb66d..bacc6fbc3 100644 --- a/docker/Dockerfile.cli.multiarch +++ b/docker/Dockerfile.cli.multiarch @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.20 AS build +FROM --platform=$BUILDPLATFORM golang:1.21 AS build WORKDIR /src COPY . . diff --git a/docker/Dockerfile.make b/docker/Dockerfile.make index f84c23651..3511afac2 100644 --- a/docker/Dockerfile.make +++ b/docker/Dockerfile.make @@ -1,5 +1,5 @@ # docker build --rm -f docker/Dockerfile.make -t woodpecker/make:local . -FROM golang:1.20-alpine as golang_image +FROM golang:1.21-alpine as golang_image FROM node:18-alpine RUN apk add --no-cache --update make gcc binutils-gold musl-dev && \ diff --git a/docker/Dockerfile.server.multiarch b/docker/Dockerfile.server.multiarch index d79012861..05d31d8e1 100644 --- a/docker/Dockerfile.server.multiarch +++ b/docker/Dockerfile.server.multiarch @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.20 AS certs +FROM --platform=$BUILDPLATFORM golang:1.21 AS certs FROM scratch ARG TARGETOS TARGETARCH