Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #34 from openfresh/feature/tag_push
Browse files Browse the repository at this point in the history
push tagged image
  • Loading branch information
stormcat24 authored May 20, 2017
2 parents 983d438 + fad2d6c commit e68c6fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e68c6fe

Please sign in to comment.