From 6452a01c82bdea75d8627ed9f18bdc2bb6f31826 Mon Sep 17 00:00:00 2001 From: Joachim Hill-Grannec Date: Thu, 19 Dec 2019 13:38:04 -0800 Subject: [PATCH] update drone.yml to publish to docker hub --- .drone.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index a7310e7..66984fa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,11 +17,16 @@ steps: image: golang:1.13 commands: - go build -o build/drone-helm cmd/drone-helm/main.go - - name: publish + - name: publish_linux_amd64 image: plugins/docker - auto_tag: true settings: + auto_tag: true + username: + from_secret: docker_username + password: + from_secret: docker_password + repo: + from_secret: plugin_repo dockerfile: Dockerfile - registry: '192.168.0.17:5000' - repo: 192.168.0.17:5000/drone-helm3 - insecure: true + when: + event: [ tag, push ]