Skip to content

Commit 04adb1a

Browse files
committed
Build docker image for tagged release.
1 parent 4d04d38 commit 04adb1a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

circle.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ deployment:
4141
commands:
4242
- docker login -e $DOCKER_EMAIL -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
4343
- docker push $DOCKER_IMAGE_NAME
44+
hub_tag:
45+
tag: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
46+
owner: kubeup
47+
commands:
48+
- docker login -e $DOCKER_EMAIL -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
49+
- docker push $DOCKER_IMAGE_NAME

0 commit comments

Comments
 (0)