Merge pull request #1710 from kinvolk/alban/hub2

circle.yml: another fix for deploy master with non-upstream hub accounts
This commit is contained in:
Paul Bellamy
2016-08-03 13:48:59 +01:00
committed by GitHub

View File

@@ -73,7 +73,7 @@ deployment:
)) &&
docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/scope &&
docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/scope:$(./image-tag) &&
(test "${DOCKER_ORGANIZATION:-$DOCKER_USER}" == "weaveworks" && (
(test "${DOCKER_ORGANIZATION:-$DOCKER_USER}" != "weaveworks" || (
wcloud deploy weaveworks/scope:$(./image-tag)
))
)