fix(Makefile): docker login

This commit is contained in:
Markus Pesch 2019-09-24 15:17:10 +02:00
parent 492416ff83
commit 709faa97de
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 3 additions and 0 deletions

View File

@ -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:

View File

@ -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