From 412c80bbeae7c9e806bf89a08cd5ad958015a80c Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sun, 3 Mar 2019 15:50:59 +0100 Subject: [PATCH] Add .drone config --- .drone.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..91f01b7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,23 @@ +pipeline: + build: + image: ruby + commands: + - gem install bundler + - bundle install + - bundle exec jekyll build + + docker: + image: plugins/docker + repo: docker.data.coop/cryptohagen-website + registry: docker.data.coop + secrets: [DOCKER_USERNAME, DOCKER_PASSWORD] + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + tag: + - "${DRONE_BUILD_NUMBER}" + - "latest" + when: + branch: + - master