Making build and publish run in the same pipeline.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
dd6a3a53dd
commit
0bfd307c4c
|
@ -7,9 +7,6 @@ steps:
|
|||
image: 'golang:alpine'
|
||||
commands:
|
||||
- go build -x .
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: publish-docker
|
||||
image: plugins/docker
|
||||
|
@ -26,3 +23,7 @@ steps:
|
|||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
Loading…
Reference in a new issue