diff --git a/.drone.yml b/.drone.yml index 34e4da3..061f578 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,25 +3,12 @@ kind: 'pipeline' name: 'build' steps: -- image: 'plugins/docker' - name: 'dryrun' - pull: 'always' - settings: - cache_from: 'rakepanorama/ansible-deployment' - daemon_off: 'false' - dockerfile: 'Dockerfile.linux.amd64' - dry_run: 'true' - repo: 'docker.io/rakepanorama/ansible-deployment' - tags: - - 'latest' - - 'v0.3' +# build and publish - image: 'plugins/docker' name: 'publish' pull: 'always' settings: - auto_tag: 'true' - auto_tag_suffix: 'linux-amd64' cache_from: 'rakepanorama/ansible-deployment' daemon_off: 'false' dockerfile: 'Dockerfile.linux.amd64' @@ -30,3 +17,6 @@ steps: from_secret: 'docker_username' password: from_secret: 'docker_password' + tags: + - 'latest' + - 'v0.3'