mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
Update builds for Go 1.14 (#1558)
* Update .drone.yml for Go 1.14 * Update appveyor.yml for Go 1.14 * Update Dockerfile.test for Go 1.14 * Update Dockerfile for Go 1.14 * Update scripts/build-image/Dockerfile
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: download-dependencies
|
||||
image: golang:1.13
|
||||
image: golang:1.14
|
||||
commands:
|
||||
# wait for services to be ready.
|
||||
- cd scripts/liveness_probe
|
||||
@@ -20,7 +20,7 @@ steps:
|
||||
path: /go
|
||||
|
||||
- name: build
|
||||
image: golang:1.13
|
||||
image: golang:1.14
|
||||
commands:
|
||||
|
||||
# build
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
ARG GOLANG_VERSION=1.12
|
||||
ARG GOLANG_VERSION=1.14
|
||||
FROM golang:$GOLANG_VERSION
|
||||
|
||||
RUN echo $GOLANG_VERSION
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ environment:
|
||||
GOPROXY: https://proxy.golang.org
|
||||
SKIP_UNTIL_113: true
|
||||
|
||||
stack: go 1.13
|
||||
stack: go 1.14
|
||||
|
||||
test_script:
|
||||
- go test ./...
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# You can override the Go version used to build the image.
|
||||
# See project Makefile if using make.
|
||||
# See docker --build-arg if building directly.
|
||||
ARG GOLANG_VERSION=1.13
|
||||
ARG GOLANG_VERSION=1.14
|
||||
FROM golang:${GOLANG_VERSION}-alpine AS builder
|
||||
|
||||
WORKDIR $GOPATH/src/github.com/gomods/athens
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.12-stretch
|
||||
FROM golang:1.14-stretch
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user