From ace2e46dd496c1a5abd8e87c4b24bc92156d4a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Mon, 1 Mar 2021 13:36:54 +0100 Subject: [PATCH] Add drone config. --- .drone.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c0a213a --- /dev/null +++ b/.drone.yml @@ -0,0 +1,33 @@ +--- +kind: pipeline +type: docker +name: default + +steps: + - name: docker + image: plugins/docker + environment: + DJANGO_ENV: production + settings: + repo: docker.data.coop/member.data.coop + registry: docker.data.coop + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + tags: + - "${DRONE_BUILD_NUMBER}" + - "vidir_refactor" + when: + branch: + - vidir_refactor + +# - name: notify +# image: plugins/matrix +# settings: +# homeserver: https://data.coop +# roomid: plKSghHbepWeUEtbHE:data.coop +# username: +# from_secret: matrix_username +# password: +# from_secret: matrix_password