mirror of
https://github.com/thegeeklab/github-releases-notifier.git
synced 2024-06-02 17:49:40 +02:00
Update golang Docker tag to v1.15
This commit is contained in:
parent
428e171198
commit
6b2d7ed18e
14
.drone.yml
14
.drone.yml
|
@ -8,7 +8,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: staticcheck
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- go run honnef.co/go/tools/cmd/staticcheck ./...
|
||||
volumes:
|
||||
|
@ -16,7 +16,7 @@ steps:
|
|||
path: /go
|
||||
|
||||
- name: lint
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- go run golang.org/x/lint/golint -set_exit_status ./...
|
||||
volumes:
|
||||
|
@ -24,7 +24,7 @@ steps:
|
|||
path: /go
|
||||
|
||||
- name: vet
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- go vet ./...
|
||||
volumes:
|
||||
|
@ -32,7 +32,7 @@ steps:
|
|||
path: /go
|
||||
|
||||
- name: test
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- go test -cover ./...
|
||||
volumes:
|
||||
|
@ -116,7 +116,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||
- go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/amd64/github-releases-notifier ./cmd/github-releases-notifier
|
||||
|
@ -193,7 +193,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||
- go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/arm64/github-releases-notifier ./cmd/github-releases-notifier
|
||||
|
@ -270,7 +270,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||
- go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/arm/github-releases-notifier ./cmd/github-releases-notifier
|
||||
|
|
Loading…
Reference in New Issue
Block a user