Fix Docker Release (#49)
* Fix Docker Release * Update .drone.yml * Update .drone.yml
This commit is contained in:
Родитель
625879054f
Коммит
4dc576b3fd
21
.drone.yml
21
.drone.yml
|
@ -67,9 +67,28 @@ steps:
|
|||
- push
|
||||
- pull_request
|
||||
|
||||
- name: build
|
||||
pull: always
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make build
|
||||
settings:
|
||||
group: release
|
||||
environment:
|
||||
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
|
||||
GOSUMDB: sum.golang.org
|
||||
CGO_ENABLED: 1
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
- pull_request
|
||||
|
||||
- name: docker
|
||||
pull: always
|
||||
image: plugins/docker:17.05
|
||||
image: plugins/docker:latest
|
||||
settings:
|
||||
group: release
|
||||
repo: gitea/lgtm
|
||||
|
|
Загрузка…
Ссылка в новой задаче