diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 7359162f..79746fcb 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" - name: Build release assets run: make release diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dcd9fae2..dbeb7175 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" - name: Install dependencies run: make get-deps diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 1f9abfc2..e28245d7 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,7 +1,7 @@ ARG DOCKER_GEN_VERSION=main # Build docker-gen from scratch -FROM golang:1.20.12-alpine as go-builder +FROM golang:1.21.5-alpine as go-builder ARG DOCKER_GEN_VERSION WORKDIR /build diff --git a/Dockerfile.debian b/Dockerfile.debian index 5864af61..3c72b679 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -1,7 +1,7 @@ ARG DOCKER_GEN_VERSION=main # Build docker-gen from scratch -FROM golang:1.20.12 as go-builder +FROM golang:1.21.5 as go-builder ARG DOCKER_GEN_VERSION diff --git a/go.mod b/go.mod index 02b3968d..76d6555a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/nginx-proxy/docker-gen -go 1.20 +go 1.21 require ( github.com/BurntSushi/toml v1.3.2