From 95374d36bd8f8d657029e159499100e7b8eeb754 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sat, 2 Mar 2024 14:42:46 +0100 Subject: [PATCH] fix(Makefile): logout correctly --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4a57145..4dcfb9e 100644 --- a/Makefile +++ b/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} \ No newline at end of file +.PHONY: ${PHONY}