Drone pipeline fixes.

This commit is contained in:
Stanislav Nikitin 2019-12-22 04:25:31 +05:00
parent 39ad633d45
commit a601ea5ab4
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,8 @@ steps:
CGO_ENABLED: 0
commands:
- golangci-lint run
depends_on:
- notify-start
- name: test
image: golang:1.13.5-alpine
@ -26,6 +28,8 @@ steps:
CGO_ENABLED: 0
commands:
- go test ./...
depends_on:
- notify-start
- name: docker
image: plugins/docker
@ -38,6 +42,9 @@ steps:
from_secret: dockerhub_password
repo: pztrn/opensaps
auto_tag: true
depends_on:
- lint
- test
- name: notify-end
when: