diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e76675b409..4064d1c8c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.14.* + go-version: 1.16.* - name: Dependencies run: | diff --git a/Dockerfile b/Dockerfile index 9537817ca3..c0ece442e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ -FROM golang:1.11-alpine AS build +FROM golang:1.16-alpine AS build +ENV GO111MODULE=auto ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution ENV BUILDTAGS include_oss include_gcs