Skip to content

Commit

Permalink
Deploy to quay when merging to master
Browse files Browse the repository at this point in the history
To workaround the 500s obtained from Docker Hub
  • Loading branch information
Alfonso Acosta committed Jan 17, 2017
1 parent 496e3f2 commit a3d0706
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ deployment:
docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/scope:$(./tools/image-tag) &&
(test -z "${UI_BUCKET_KEY_ID}" || make ui-upload)
)
- | test -z "${QUAY_USER}" || (
docker docker login -e '.' -u "$QUAY_USER" -p "$QUAY_PASSWORD" quay.io &&
docker tag weaveworks/scope:$(./tools/image-tag) "quay.io/${QUAY_ORGANIZATION}/scope:$(./tools/image-tag)" &&
docker push "quay.io/${QUAY_ORGANIZATION}/scope:$(./tools/image-tag)"
)
hub-dev:
branch: /^((?!master).)*$/ # not the master branch
commands:
Expand Down

0 comments on commit a3d0706

Please sign in to comment.