diff --git a/.travis.yml b/.travis.yml index 7a817191..712af8a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,8 @@ matrix: script: - make test after_success: - - if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then - make container + - if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then + make container; docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" quay.io; make push; fi diff --git a/Makefile b/Makefile index 7fb42c87..431a985c 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # limitations under the License. IMAGE_NAME = quay.io/k8scsi/mock-driver -IMAGE_VERSION = canary +IMAGE_VERSION = v1.0.0-1 APP := ./bin/mock