From b024c0dd5d3e6b18847530958c35b0df111180fd Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Mon, 17 Dec 2018 14:15:30 +0100 Subject: [PATCH] Fix drone build caused by golang regression --- .drone.yml | 12 ++++++------ Dockerfile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2fe0e8f..ce20b05 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 6d24a57..2808bfc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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