update drone.yml to publish to docker hub
This commit is contained in:
parent
6acad85bed
commit
6452a01c82
15
.drone.yml
15
.drone.yml
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue