update drone.yml to publish to docker hub

This commit is contained in:
Joachim Hill-Grannec 2019-12-19 13:38:04 -08:00 committed by GitHub
parent 6acad85bed
commit 6452a01c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,11 +17,16 @@ steps:
image: golang:1.13 image: golang:1.13
commands: commands:
- go build -o build/drone-helm cmd/drone-helm/main.go - go build -o build/drone-helm cmd/drone-helm/main.go
- name: publish - name: publish_linux_amd64
image: plugins/docker image: plugins/docker
auto_tag: true
settings: settings:
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
repo:
from_secret: plugin_repo
dockerfile: Dockerfile dockerfile: Dockerfile
registry: '192.168.0.17:5000' when:
repo: 192.168.0.17:5000/drone-helm3 event: [ tag, push ]
insecure: true