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

Commit e68c6fe

Browse files
authored
Merge pull request #34 from openfresh/feature/tag_push
push tagged image
2 parents 983d438 + fad2d6c commit e68c6fe

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

circle.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,10 @@ deployment:
3737
- "docker build -t $CIRCLE_PROJECT_USERNAME/plasma:latest ."
3838
- "docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS"
3939
- "docker push $CIRCLE_PROJECT_USERNAME/plasma:latest"
40+
release:
41+
tag: /[0-9]+(\.[0-9]+)*/
42+
commands:
43+
- make build
44+
- "docker build -t $CIRCLE_PROJECT_USERNAME/plasma:$CIRCLE_TAG ."
45+
- "docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS"
46+
- "docker push $CIRCLE_PROJECT_USERNAME/plasma:$CIRCLE_TAG"

0 commit comments

Comments
 (0)