feat: add container update message
All checks were successful
Container build / container-build (push) Successful in 3m58s
All checks were successful
Container build / container-build (push) Successful in 3m58s
This commit is contained in:
parent
a67ea6c795
commit
89dbfcb996
1
enter.sh
1
enter.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user