diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8cf7f28 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,33 @@ +kind: pipeline +name: deploy +steps: +- name: docker + image: plugins/docker + settings: + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + repo: yolokube/dashboard + tags: latest + when: + branch: + - master + event: + - push +- name: docker-build + image: plugins/docker + settings: + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + repo: yolokube/dashboard + tags: latest + dry_run: true + when: + exclude: + branch: + - master + event: + - push \ No newline at end of file