From 639bd8ff3ed8ad330d6f11b1b0ac6df00d123b20 Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Sun, 19 Nov 2023 23:34:58 +0700 Subject: [PATCH] auto cleanup old images --- .woodpecker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 59f06c8..74f987c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,16 +3,15 @@ steps: image: bash commands: - systemctl --user stop ttt-org + - podman image rm localhost/ttt-org - cp ttt-org.container /home/sasha/.config/containers/systemd - systemctl --user daemon-reload - - cat index.html container-build: image: bash commands: - sed -i "s/DATE/$(date -I)/g" index.html - sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html - - cat index.html - podman build -t ttt-org . container-deploy: