diff --git a/circle.yml b/circle.yml index 169223b..5e66f07 100644 --- a/circle.yml +++ b/circle.yml @@ -37,3 +37,10 @@ deployment: - "docker build -t $CIRCLE_PROJECT_USERNAME/plasma:latest ." - "docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS" - "docker push $CIRCLE_PROJECT_USERNAME/plasma:latest" + release: + tag: /[0-9]+(\.[0-9]+)*/ + commands: + - make build + - "docker build -t $CIRCLE_PROJECT_USERNAME/plasma:$CIRCLE_TAG ." + - "docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS" + - "docker push $CIRCLE_PROJECT_USERNAME/plasma:$CIRCLE_TAG"