Fix drone build caused by golang regression

remotes/1698823321490190475/tmp_refs/heads/update-golang
Jonas Franz 5 years ago committed by Jonas Franz
parent ca9a16558e
commit b024c0dd5d
  1. 12
      .drone.yml
  2. 2
      Dockerfile

@ -10,7 +10,7 @@ clone:
pipeline:
deps:
image: golang:1.10
image: golang:1.11.2-alpine
pull: true
environment:
GOPATH: /go
@ -20,14 +20,14 @@ pipeline:
- go get -u github.com/gobuffalo/packr/...
- packr -z
test:
image: golang:1.10
image: golang:1.11.2-alpine
pull: true
environment:
GOPATH: /go
commands:
- make test build
coverage:
image: golang:1.10
image: golang:1.11.2-alpine
pull: true
environment:
GOPATH: /go
@ -35,7 +35,7 @@ pipeline:
commands:
- make coverage
static:
image: golang:1.10
image: golang:1.11.2-alpine
pull: true
environment:
GOPATH: /go
@ -45,7 +45,7 @@ pipeline:
event: [ push ]
branch: [ master ]
static:
image: golang:1.10
image: golang:1.11.2-alpine
pull: true
environment:
GOPATH: /go
@ -54,7 +54,7 @@ pipeline:
when:
event: [ tag ]
clean:
image: golang:1.10
image: golang:1.11.2-alpine
pull: true
environment:
GOPATH: /go

@ -1,5 +1,5 @@
#Build stage
FROM golang:1.10-alpine3.7 AS build-env
FROM golang:1.11.2-alpine3.7 AS build-env
ARG VERSION

Loading…
Cancel
Save