Making build and publish run in the same pipeline.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Alexey Skobkin 2024-03-10 05:31:55 +03:00
parent dd6a3a53dd
commit 0bfd307c4c
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
1 changed files with 4 additions and 3 deletions

View File

@ -7,9 +7,6 @@ steps:
image: 'golang:alpine' image: 'golang:alpine'
commands: commands:
- go build -x . - go build -x .
when:
event:
- push
- name: publish-docker - name: publish-docker
image: plugins/docker image: plugins/docker
@ -26,3 +23,7 @@ steps:
when: when:
event: event:
- tag - tag
trigger:
event:
- push