File tree 3 files changed +27
-2
lines changed 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change
1
+ env :
2
+ - GO_VERSION=1.16
3
+
4
+ before :
5
+ hooks :
6
+ - go mod download
7
+
1
8
builds :
2
9
- main : ./cmd/mnd/main.go
3
10
binary : mnd
@@ -27,3 +34,21 @@ brews:
27
34
system "#{bin}/mnd --version"
28
35
install : |
29
36
bin.install "mnd"
37
+
38
+ dockers :
39
+ -
40
+ goos : linux
41
+ goarch : amd64
42
+ image_templates :
43
+ - " tommymuehle/go-mnd:latest"
44
+ - " tommymuehle/go-mnd:{{ .Tag }}"
45
+ build_flag_templates :
46
+ - " --build-arg=GO_VERSION={{.Env.GO_VERSION}}"
47
+ extra_files :
48
+ - checks
49
+ - cmd
50
+ - config
51
+ - analyzer.go
52
+ - entrypoint.sh
53
+ - go.mod
54
+ - go.sum
Original file line number Diff line number Diff line change 1
- ARG GO_VERSION=1.15
1
+ ARG GO_VERSION=1.16
2
2
3
3
FROM golang:${GO_VERSION}-alpine AS builder
4
4
RUN apk add --update --no-cache make git curl gcc libc-dev
Original file line number Diff line number Diff line change 1
1
GIT_TAG? = $(shell git describe --abbrev=0)
2
2
3
- GO_VERSION = 1.15
3
+ GO_VERSION = 1.16
4
4
BUILDFLAGS := '-w -s'
5
5
6
6
IMAGE_REPO = "tommymuehle"
You can’t perform that action at this time.
0 commit comments