Push to Quay.io
@@ -6,4 +6,8 @@ script:
- go fmt $(go list ./... | grep -v vendor) | wc -l | grep 0
- go vet $(go list ./... | grep -v vendor)
- go test $(go list ./... | grep -v vendor)
-
+after_success:
+ - if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
+ docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" quay.io;
+ make push;
+ fi
