Skip to content
Permalink
b0cb33ee2f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
57 lines (54 sloc) 1.22 KB
build:
css:
image: mhart/alpine-node:4
commands:
- make install
- make build-sass
js:
image: pandeiro/lein
commands:
- make install
- make build-cljs
notify:
slack:
webhook_url: $$SLACK_WEBHOOK_URL
channel: ulysses
username: drone
# tag image with "latest" or "develop", and build number
publish:
docker:
file: Dockerfile
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: uconncore/ulysses-front
tag: latest
when:
branch: master
docker:
file: Dockerfile
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: uconncore/ulysses-front
tag: develop
when:
branch: develop
# deploy new image to rancher (using ulysses stack)
deploy:
rancher:
url: $$RANCHER_URL
access_key: $$RANCHER_ACCESS_KEY
secret_key: $$RANCHER_SECRET_KEY
service: ulysses/front-staging
docker_image: uconncore/ulysses-front:develop
when:
branch: develop
rancher:
url: $$RANCHER_URL
access_key: $$RANCHER_ACCESS_KEY
secret_key: $$RANCHER_SECRET_KEY
service: ulysses/front-prod
docker_image: uconncore/ulysses-front:latest
when:
branch: master