diff --git a/.woodpecker.yml b/.woodpecker.yml index c47e875..8836806 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -28,5 +28,6 @@ steps: docker image rm "$IMAGE" || true; docker volume rm "$VOLUME" || true; docker pull "$IMAGE"; - docker compose -f docker-compose.demo.yml up -d;" + docker compose -f docker-compose.demo.yml up -d; + docker image prune -af;" secrets: [SSH_KEY, REMOTE_HOST, PROJECT_DIRECTORY, IMAGE, VOLUME]