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 github.com/golang/dep/cmd/dep
- run: dep ensure
- run: make
- run: docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" quay.io
- 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" quay.io
make publish-image
fi
Markdown is supported
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