diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 62ecea66..dcb4137b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,7 +21,7 @@ jobs: test: name: test runs-on: ubuntu-latest - container: golang:1.20-alpine3.17 + container: golang:1.21-alpine3.17 steps: - name: Install git run: apk add --update --no-cache git @@ -37,7 +37,7 @@ jobs: build: name: build runs-on: ubuntu-latest - container: golang:1.20-alpine3.17 + container: golang:1.21-alpine3.17 strategy: matrix: os: [linux, darwin, windows] diff --git a/Dockerfile b/Dockerfile index e1ef0e99..05e6f568 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.20-alpine3.17 AS builder +FROM --platform=$BUILDPLATFORM golang:1.21-alpine3.17 AS builder ARG GITHUB_REF GITHUB_SHA WORKDIR /src COPY go.mod go.sum ./