Skip to content

Commit

Permalink
add publish step (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Sheldon authored Oct 29, 2019
1 parent 6610b2c commit 38e1a8f
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ steps:
- push
- tag

- name: docker_build
- name: publish_dry_run
image: plugins/docker:18
settings:
dry_run: true
Expand All @@ -25,6 +25,31 @@ steps:
event:
- pull_request

- name: publish
image: plugins/docker:18
settings:
auto_tag: true
dockerfile: docker/Dockerfile.linux.amd64
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: meltwater/drone-convert-pathschanged
when:
event:
- push
- tag

trigger:
branch:
- master

---
kind: secret
name: docker_password
data: ODs/NQbyVO3MWs4rFbj2qcYQmaoMAW9tnJPEfs5gmwKTQF6K8hHvOV0Nej/oFTmlU8TVwg==

---
kind: secret
name: docker_username
data: ta1MaBGfEUop+p+izOnIl7thF6RQ62CGk5C0Af44msGeGiy8/MGcZ4Toyt3feOcF

0 comments on commit 38e1a8f

Please sign in to comment.