fix(Makefile): docker login
This commit is contained in:
parent
492416ff83
commit
709faa97de
@ -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:
|
||||
|
1
Makefile
1
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
|
||||
|
Loading…
Reference in New Issue
Block a user