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
5
Makefile
5
Makefile
@ -23,7 +23,6 @@ container-image/build:
|
||||
PHONY:=container-image/delete
|
||||
container-image/delete:
|
||||
- ${PODMAN_BIN} image rm ${FETCHMAIL_IMAGE_FULLY_QUALIFIED}
|
||||
- ${PODMAN_BIN} image rm ${BASE_IMAGE_FULL}
|
||||
|
||||
# PUSH CONTAINER IMAGE
|
||||
# ==============================================================================
|
||||
@ -31,7 +30,7 @@ PHONY+=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
|
||||
${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
|
||||
# ==============================================================================
|
||||
@ -43,4 +42,4 @@ container-image/push-to-docker-daemon:
|
||||
# ==============================================================================
|
||||
# Declare the contents of the PHONY variable as phony. We keep that information
|
||||
# in a variable so we can use it in if_changed.
|
||||
.PHONY: ${PHONY}
|
||||
.PHONY: ${PHONY}
|
||||
|
Loading…
Reference in New Issue
Block a user