Add docker image upload to CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Hamcha 2019-10-10 14:45:27 +02:00
parent fc23296691
commit 81ce1431bf
Signed by: hamcha
GPG Key ID: 44AD3571EB09A39E
1 changed files with 19 additions and 0 deletions

View File

@ -9,3 +9,22 @@ steps:
volumes:
- name: gopath
path: /go
- name: publish
image: plugins/docker
settings:
auto_tag: true
target: final
registry:
from_secret: docker_registry
repo:
from_secret: docker_repo
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- tag
branch: master