From bfb0fe41068209f18d2bdc0f486fd02ea5068275 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 9 Dec 2020 21:49:45 +0000 Subject: [PATCH] Add '.drone.yml' --- .drone.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..bf157ac --- /dev/null +++ b/.drone.yml @@ -0,0 +1,42 @@ +kind: pipeline +type: kubernetes +name: Harbor + +steps: +- name: build & publish + image: plugins/docker + context: . + settings: + repo: bv11-cr01.bessems.eu/library/matrixbridge-whatsapp + registry: bv11-cr01.bessems.eu + tags: latest + mtu: 1450 + username: + from_secret: harbor_username + password: + from_secret: harbor_password + # environment: + # DOCKER_CONTENT_TRUST: 1 + # DOCKER_CONTENT_TRUST_SERVER: https://notary.spamasaurus.com + # DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: + # from_secret: harbor_repo_passphrase + # DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE: + # from_secret: harbor_root_passphrase + +--- +kind: pipeline +type: kubernetes +name: Dockerhub + +steps: +- name: build & publish + image: plugins/docker + context: . + settings: + repo: djpbessems/matrixbridge-whatsapp + tags: latest + mtu: 1450 + username: + from_secret: docker_username + password: + from_secret: docker_password \ No newline at end of file