-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
29 lines (25 loc) · 876 Bytes
/
circle.yml
File metadata and controls
29 lines (25 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
services:
- docker
environment:
DOCKER_USER: thebho
DOCKER_EMAIL: brian.hoehne@maryville.com
DOCKER_IMAGE: maryville/skilldirectorycassandra
test:
override:
- echo "It's fine. Don't worry about it."
deployment:
release:
tag: /v[0-9]+(\.[0-9]+)*/
commands:
- docker login -u "$DOCKER_USER" -p "$dockerPass" --email "$DOCKER_EMAIL"
- cd cassandra && docker build -t $DOCKER_IMAGE:$CIRCLE_TAG --rm=false .
- docker push $DOCKER_IMAGE:$CIRCLE_TAG
master:
branch: master
commands:
- docker login -u "$DOCKER_USER" -p "$dockerPass" --email "$DOCKER_EMAIL"
- cd cassandra && docker build -t $DOCKER_IMAGE:$CIRCLE_BRANCH --rm=false .
- docker push $DOCKER_IMAGE:$CIRCLE_BRANCH