feat: add container update message
All checks were successful
Container build / container-build (push) Successful in 3m58s

This commit is contained in:
Job 2024-09-29 16:52:32 +02:00
parent a67ea6c795
commit 89dbfcb996
Signed by: Job79
SSH Key Fingerprint: SHA256:BezbKv3jZaqu7SdNrZM0e42b8nlNwh63zaVj/pUxc7U

View File

@ -86,6 +86,7 @@ podman pull -q "$image" 1>/dev/null
if [ "$(podman image inspect "$image" -f {{.Id}})" != "$iid" ]; then if [ "$(podman image inspect "$image" -f {{.Id}})" != "$iid" ]; then
# When container is stopped and a newer image is available, # When container is stopped and a newer image is available,
# recreate the container instead of starting the existing one. # recreate the container instead of starting the existing one.
echo "container has been updated"
podman_delete podman_delete
podman_run podman_run
else else