Add docker image upload to CI
Some checks failed
continuous-integration/drone/push Build is failing

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

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