diff --git a/.travis.yml b/.travis.yml index 2d53f5b..1402b96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,8 @@ jobs: - name: deploy-container-image-tagged stage: deploy script: make container-image/push VERSION=${TRAVIS_TAG} CONTAINER_IMAGE_VERSION=${TRAVIS_TAG} + on: + tags: true notifications: email: diff --git a/Makefile b/Makefile index 41ad4af..6e95e8f 100644 --- a/Makefile +++ b/Makefile @@ -119,6 +119,7 @@ container-image/build: fi container-image/push: container-image/build + ${CONTAINER_RUNTIME} login ${REGISTRY_MIRROR} --username ${REGISTRY_USER} --password ${REGISTRY_PASSWORD} ${CONTAINER_RUNTIME} push ${REGISTRY_MIRROR}/${REGISTRY_NAMESPACE}/${CONTAINER_IMAGE_NAME}:${CONTAINER_IMAGE_VERSION} # CONTAINER STEPS - BINARY