Commit b9f583ae authored by Adam Harrison's avatar Adam Harrison
Browse files

Only push images built from master

parent adf8147a
......@@ -10,5 +10,11 @@ jobs:
- run: go get
- run: dep ensure
- run: make
- run: docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
- run: make publish-image
- deploy:
name: Maybe push master images
command: |
if [ -z "${CIRCLE_TAG}" -a "${CIRCLE_BRANCH}" == "master" ]; then
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
make publish-image
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment