fix: force clean all old pods before fresh deploy
This commit is contained in:
parent
8d2ffb503a
commit
8770476d61
1 changed files with 2 additions and 0 deletions
|
|
@ -39,6 +39,8 @@ if [ "$GREENFIELD" = true ]; then
|
|||
systemctl disable nextworkspace 2>/dev/null || true
|
||||
rm -f /etc/systemd/system/nextworkspace.service
|
||||
systemctl daemon-reload
|
||||
# Force clean all old pods and containers
|
||||
podman pod rm -f -a 2>/dev/null || true
|
||||
podman rm -f caddy authelia launcher 2>/dev/null || true
|
||||
podman network rm "$NETWORK_NAME" 2>/dev/null || true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue