Update circle to push latest tag for master builds

Fix for #631
pull/633/head
Chris Goller 2016-11-30 16:00:55 -06:00 committed by GitHub
parent f6c20592bf
commit 74f584a16e
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ deployment:
- docker login -e $QUAY_EMAIL -u "$QUAY_USER" -p $QUAY_PASS quay.io
- docker tag chronograf quay.io/influxdb/chronograf:${CIRCLE_SHA1:0:7}
- docker push quay.io/influxdb/chronograf:${CIRCLE_SHA1:0:7}
- docker tag chronograf quay.io/influxdb/chronograf:latest
- docker push quay.io/influxdb/chronograf:latest
- mv ./build/* $CIRCLE_ARTIFACTS
pre-release:
tag: /^[0-9]+(\.[0-9]+)*(\S*)([a|rc|beta]([0-9]+))+$/