Browse Source

Fix drone build caused by golang regression

pull/31/head
Jonas Franz 6 months ago
parent
commit
b024c0dd5d
2 changed files with 7 additions and 7 deletions
  1. 6
    6
      .drone.yml
  2. 1
    1
      Dockerfile

+ 6
- 6
.drone.yml View File

@@ -10,7 +10,7 @@ clone:
10 10
 
11 11
 pipeline:
12 12
   deps:
13
-    image: golang:1.10
13
+    image: golang:1.11.2-alpine
14 14
     pull: true
15 15
     environment:
16 16
       GOPATH: /go
@@ -20,14 +20,14 @@ pipeline:
20 20
       - go get -u github.com/gobuffalo/packr/...
21 21
       - packr -z
22 22
   test:
23
-    image: golang:1.10
23
+    image: golang:1.11.2-alpine
24 24
     pull: true
25 25
     environment:
26 26
       GOPATH: /go
27 27
     commands:
28 28
       - make test build
29 29
   coverage:
30
-    image: golang:1.10
30
+    image: golang:1.11.2-alpine
31 31
     pull: true
32 32
     environment:
33 33
       GOPATH: /go
@@ -35,7 +35,7 @@ pipeline:
35 35
     commands:
36 36
       - make coverage
37 37
   static:
38
-    image: golang:1.10
38
+    image: golang:1.11.2-alpine
39 39
     pull: true
40 40
     environment:
41 41
       GOPATH: /go
@@ -45,7 +45,7 @@ pipeline:
45 45
       event: [ push ]
46 46
       branch: [ master ]
47 47
   static:
48
-    image: golang:1.10
48
+    image: golang:1.11.2-alpine
49 49
     pull: true
50 50
     environment:
51 51
       GOPATH: /go
@@ -54,7 +54,7 @@ pipeline:
54 54
     when:
55 55
       event: [ tag ]
56 56
   clean:
57
-    image: golang:1.10
57
+    image: golang:1.11.2-alpine
58 58
     pull: true
59 59
     environment:
60 60
       GOPATH: /go

+ 1
- 1
Dockerfile View File

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

Loading…
Cancel
Save