From 1076dfaff9f8839b51fe31197f5324d424c9b104 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Tue, 18 Apr 2023 14:05:46 +0200 Subject: [PATCH] fixed clean target and not showing credentials --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1d7fb06..4adb419 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ build: --label org.opencontainers.image.url="https://${REPO}/-/packages/container/${IMAGENAME}/${VERSION}" \ --label org.opencontainers.image.version="${VERSION}" \ --label org.opencontainers.image.vendor="Jonas Forsberg" \ - --tag docker.io/bardak/restic:$(VERSION) \ + --tag ${REPO}/${IMAGENAME}:$(VERSION) \ . clean: @@ -48,5 +48,6 @@ release: require_clean_git build git tag -a v$(VERSION) -m "restic version: ${TMP_MESSAGE}" git push origin v$(VERSION) podman tag ${REPO}/${IMAGENAME}:$(VERSION) ${REPO}/${IMAGENAME}:latest - podman push --creds $(USERNAME):$(PASSWORD) ${REPO}/${IMAGENAME}:$(VERSION) - podman push --creds $(USERNAME):$(PASSWORD) ${REPO}/${IMAGENAME}:latest + @ echo "Pushing images" + @ podman push --creds $(USERNAME):$(PASSWORD) ${REPO}/${IMAGENAME}:$(VERSION) + @ podman push --creds $(USERNAME):$(PASSWORD) ${REPO}/${IMAGENAME}:latest