more verbose tag message

This commit is contained in:
Jonas Forsberg 2023-04-17 14:21:03 +02:00
parent 23615777b7
commit 52d867d7ae

View File

@ -30,8 +30,8 @@ clean:
podman image rm docker.io/bardak/restic:$(VERSION) podman image rm docker.io/bardak/restic:$(VERSION)
release: require_clean_git build release: require_clean_git build
$(eval TMP_MESSAGE := $(shell podman run --rm -it ${REPO}/${IMAGENAME}:$(VERSION) /usr/bin/restic --version)) $(eval TMP_MESSAGE := $(shell podman run --rm -it ${REPO}/${IMAGENAME}:$(VERSION) /usr/bin/restic --version))
git tag -a v$(VERSION) -m "${TMP_MESSAGE}" git tag -a v$(VERSION) -m "restic version: ${TMP_MESSAGE}"
git push origin v$(VERSION) git push origin v$(VERSION)
podman tag ${REPO}/${IMAGENAME}:$(VERSION) ${REPO}/${IMAGENAME}:latest podman tag ${REPO}/${IMAGENAME}:$(VERSION) ${REPO}/${IMAGENAME}:latest
podman push --creds $(USERNAME):$(PASSWORD) ${REPO}/${IMAGENAME}:$(VERSION) podman push --creds $(USERNAME):$(PASSWORD) ${REPO}/${IMAGENAME}:$(VERSION)