From 6481d4f4055d040aa09e3d02a6c681d1c8a05177 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 9 Apr 2021 14:11:39 +0200 Subject: [PATCH] Add drone integration --- .drone.yml | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..d1f99de --- /dev/null +++ b/.drone.yml @@ -0,0 +1,55 @@ +--- + +kind: pipeline +name: build-stable-proxy-container + +steps: + - name: build stable proxy container + image: plugins/docker + settings: + username: + from_secret: docker_username + password: + from_secret: docker_password + dockerfile: docker/proxy/Dockerfile + repo: keyoxide/doip-proxy + tags: stable + - name: build tag proxy container + image: plugins/docker + settings: + username: + from_secret: docker_username + password: + from_secret: docker_password + dockerfile: docker/proxy/Dockerfile + repo: keyoxide/doip-proxy + auto_tag: true + +trigger: + branch: + - main + event: + - tag + +--- + +kind: pipeline +name: build-dev-proxy-container + +steps: + - name: build dev proxy container + image: plugins/docker + settings: + username: + from_secret: docker_username + password: + from_secret: docker_password + dockerfile: docker/proxy/Dockerfile + repo: keyoxide/doip-proxy + tags: dev + +trigger: + branch: + - main + event: + - push