fix(Makefile): logout correctly
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
71d28ec0ab
commit
95374d36bd
3
Makefile
3
Makefile
@ -23,7 +23,6 @@ container-image/build:
|
|||||||
PHONY:=container-image/delete
|
PHONY:=container-image/delete
|
||||||
container-image/delete:
|
container-image/delete:
|
||||||
- ${PODMAN_BIN} image rm ${FETCHMAIL_IMAGE_FULLY_QUALIFIED}
|
- ${PODMAN_BIN} image rm ${FETCHMAIL_IMAGE_FULLY_QUALIFIED}
|
||||||
- ${PODMAN_BIN} image rm ${BASE_IMAGE_FULL}
|
|
||||||
|
|
||||||
# PUSH CONTAINER IMAGE
|
# PUSH CONTAINER IMAGE
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
@ -31,7 +30,7 @@ PHONY+=container-image/push
|
|||||||
container-image/push:
|
container-image/push:
|
||||||
echo ${FETCHMAIL_IMAGE_REGISTRY_PASSWORD} | ${PODMAN_BIN} login ${FETCHMAIL_IMAGE_REGISTRY_HOST} --username ${FETCHMAIL_IMAGE_REGISTRY_USER} --password-stdin
|
echo ${FETCHMAIL_IMAGE_REGISTRY_PASSWORD} | ${PODMAN_BIN} login ${FETCHMAIL_IMAGE_REGISTRY_HOST} --username ${FETCHMAIL_IMAGE_REGISTRY_USER} --password-stdin
|
||||||
${PODMAN_BIN} push ${FETCHMAIL_IMAGE_FULLY_QUALIFIED}
|
${PODMAN_BIN} push ${FETCHMAIL_IMAGE_FULLY_QUALIFIED}
|
||||||
${PODMAN_BIN} logout ${FETCHMAIL_IMAGE_FULLY_QUALIFIED}
|
${PODMAN_BIN} logout ${FETCHMAIL_IMAGE_REGISTRY_HOST}
|
||||||
|
|
||||||
# PUSH CONTAINER IMAGE TO DOCKER
|
# PUSH CONTAINER IMAGE TO DOCKER
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user