From e3a62af5f4ae6ecde8fff199430097b06685750e Mon Sep 17 00:00:00 2001 From: Checksum Date: Wed, 16 Aug 2023 21:16:21 -0500 Subject: [PATCH] ci: cleanup watchtower --- .github/workflows/production-web.yml | 2 +- .github/workflows/staging-web.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production-web.yml b/.github/workflows/production-web.yml index 05887c7..de0aea9 100644 --- a/.github/workflows/production-web.yml +++ b/.github/workflows/production-web.yml @@ -67,4 +67,4 @@ jobs: password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} script: | - docker run -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once + docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once --cleanup \ No newline at end of file diff --git a/.github/workflows/staging-web.yml b/.github/workflows/staging-web.yml index f3bc7f8..022f6ef 100644 --- a/.github/workflows/staging-web.yml +++ b/.github/workflows/staging-web.yml @@ -78,4 +78,4 @@ jobs: password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} script: | - docker run -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once + docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once --cleanup \ No newline at end of file