From d836b23fc2a4817e86546e33f74a8f4c882b6aa2 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 31 Jul 2021 01:35:16 +0200 Subject: [PATCH] [release/2.7] update to go1.16 Signed-off-by: Sebastiaan van Stijn --- .github/workflows/ci.yml | 2 +- Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e76675b4..4064d1c8 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 9537817c..c0ece442 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