diff --git a/.drone.yml b/.drone.yml index b42d659..43c00e8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,15 +1,9 @@ --- kind: secret -name: docker_username +name: digitalocean_auth get: - path: docker - name: username ---- -kind: secret -name: docker_password -get: - path: docker - name: password + path: digitalocean + name: auth --- kind: pipeline type: kubernetes @@ -18,10 +12,8 @@ steps: - name: publish image: plugins/docker settings: - repo: docker.io/jcollie/hc - registry: docker.io - username: - from_secret: username - password: - from_secret: password + repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks + registry: registry.digitalocean.com + auth: + from_secret: digitalocean_auth auto_tag: true