Merge latest ci-tools-lib
All checks were successful
ZeroDownTime/CloudBender/pipeline/head This commit looks good
ZeroDownTime/CloudBender/pipeline/tag This commit looks good

This commit is contained in:
Stefan Reimer 2024-10-23 12:29:12 +00:00
commit e2c2f3e0ba

View File

@ -73,8 +73,10 @@ rm-remote-untagged: ## delete all remote untagged and in-dev images, keep 10 tag
clean:: ## clean up source folder
rm-image:
test -z "$$(podman image ls -q $(IMAGE):$(TAG)-$(_ARCH))" || podman image rm -f $(IMAGE):$(TAG)-$(_ARCH) > /dev/null
test -z "$$(podman image ls -q $(IMAGE):$(TAG)-$(_ARCH))" || echo "Error: Removing image failed"
for t in $(TAG) latest $(EXTRA_TAGS); do \
test -z "$$(podman image ls -q $(IMAGE):$${t}-$(_ARCH))" || podman image rm -f $(IMAGE):$${t}-$(_ARCH); \
test -z "$$(podman image ls -q $(IMAGE):$${t})" || podman image rm -f $(IMAGE):$${t}; \
done
## some useful tasks during development
ci-pull-upstream: ## pull latest shared .ci subtree