Update to go 1.16, and run CI on 1.15.x and 1.16.x
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
38ab4c606e
commit
a07b54eb68
3 changed files with 11 additions and 6 deletions
|
@ -1,7 +1,8 @@
|
|||
ARG GO_VERSION=1.15
|
||||
ARG GO_VERSION=1.16
|
||||
|
||||
FROM golang:${GO_VERSION}-alpine3.12 AS build
|
||||
FROM golang:${GO_VERSION}-alpine3.14 AS build
|
||||
|
||||
ENV GO111MODULE=auto
|
||||
ENV DISTRIBUTION_DIR /go/src/github.com/distribution/distribution
|
||||
ENV BUILDTAGS include_oss include_gcs
|
||||
|
||||
|
@ -18,7 +19,7 @@ WORKDIR $DISTRIBUTION_DIR
|
|||
COPY . $DISTRIBUTION_DIR
|
||||
RUN CGO_ENABLED=0 make PREFIX=/go clean binaries && file ./bin/registry | grep "statically linked"
|
||||
|
||||
FROM alpine:3.12
|
||||
FROM alpine:3.14
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add --no-cache ca-certificates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue