From a004378b1c381a1eced6dd416193150db1366d9b Mon Sep 17 00:00:00 2001 From: Sebastian Leheis Date: Mon, 1 Apr 2024 22:27:30 +0200 Subject: [PATCH] =?UTF-8?q?.drone.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..6d791b5 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,44 @@ +kind: pipeline +name: deploy +steps: +- name: docker + image: thegeeklab/drone-docker-buildx + privileged: true + settings: + registry: git.ar21.de + username: + from_secret: REGISTRY_USER + password: + from_secret: REGISTRY_PASS + repo: git.ar21.de/sebleh/n8n-custom + tags: latest + platforms: + - linux/arm64 + - linux/amd64 + + when: + branch: + - main +- name: docker-build + image: thegeeklab/drone-docker-buildx + privileged: true + settings: + registry: git.ar21.de + username: + from_secret: REGISTRY_USER + password: + from_secret: REGISTRY_PASS + repo: git.ar21.de/sebleh/n8n-custom + tags: latest + platforms: + - linux/arm64 + - linux/amd64 + dry_run: true + when: + branch: + exclude: + - main +when: + event: + include: + - push \ No newline at end of file