Fix drone build caused by golang regression

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

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

Loading…
Cancel
Save