more verbose tag message
This commit is contained in:
parent
23615777b7
commit
52d867d7ae
4
Makefile
4
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user