From 137d1dbce2971442d120316bb31b4e890dc0a847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Mon, 16 Apr 2018 15:44:11 +0200 Subject: [PATCH] Add .drone.yml --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9e21f9e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,13 @@ +pipeline: + build: + image: eu.gcr.io/avatao-public/docker:el7 + volumes: + - /etc/docker:/etc/docker:ro + - /root/.docker:/root/.docker:ro + - /var/run/docker.sock:/var/run/docker.sock:ro + commands: + - docker build --pull -t eu.gcr.io/avatao-challengestore/tutorial-framework:${DRONE_TAG} . + - docker push eu.gcr.io/avatao-challengestore/tutorial-framework:${DRONE_TAG} + when: + event: 'tag' + branch: refs/tags/egyptianmau-20*