Browse Source

Fix drone build caused by golang regression

pull/31/head
Jonas Franz 3 years ago committed by Jonas Franz
parent
commit
b024c0dd5d
  1. 12
      .drone.yml
  2. 2
      Dockerfile

12
.drone.yml

@ -10,7 +10,7 @@ clone: @@ -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: @@ -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: @@ -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: @@ -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: @@ -54,7 +54,7 @@ pipeline:
when:
event: [ tag ]
clean:
image: golang:1.10
image: golang:1.11.2-alpine
pull: true
environment:
GOPATH: /go

2
Dockerfile

@ -1,5 +1,5 @@ @@ -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