From 2d2b5d372e2dcf05497f645d2a9c15f7a12c4cdc Mon Sep 17 00:00:00 2001 From: Manuel Date: Sun, 17 Oct 2021 21:31:28 +0200 Subject: [PATCH] Add drone.yml --- .drone.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..216caec --- /dev/null +++ b/.drone.yml @@ -0,0 +1,46 @@ +--- +kind: pipeline +name: default + +platform: + os: linux + arch: amd64 + +steps: +- name: publish-init + pull: default + image: plugins/docker + settings: + context: data/Dockerfiles/parsedmarc-init + dockerfile: Dockerfile + group: publish + repo: sunred/parsedmarc + tag: init + password: + from_secret: docker_password + username: + from_secret: docker_username + when: + branch: + - master + event: + - push + +- name: publish-latest + pull: default + image: plugins/docker + settings: + context: data/Dockerfiles/parsedmarc + dockerfile: Dockerfile + group: publish + repo: sunred/parsedmarc + tag: latest + password: + from_secret: docker_password + username: + from_secret: docker_username + when: + branch: + - master + event: + - push \ No newline at end of file