From 758ec5af8480ef7627cd6e00a5e46260eb84612b Mon Sep 17 00:00:00 2001 From: Fernando Lucchesi Date: Thu, 21 Sep 2023 10:43:31 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Experiment=20with=20v2=20#1770?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ghcr-cleanup_v2.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ghcr-cleanup_v2.yaml b/.github/workflows/ghcr-cleanup_v2.yaml index 358eb5030..6e21c1547 100644 --- a/.github/workflows/ghcr-cleanup_v2.yaml +++ b/.github/workflows/ghcr-cleanup_v2.yaml @@ -28,7 +28,8 @@ jobs: echo "TAGS TO KEEP: $TAGS" - name: Clean up Docker images - uses: snok/container-retention-policy@v1 + id: delete-containers + uses: snok/container-retention-policy@v2 with: token: ${{ secrets.NLUN_GITHUB_PAT }} keep-at-least: 5 @@ -36,6 +37,7 @@ jobs: org-name: Equinor image-names: energyvision/* skip-tags: ${{ env.TAGS_TO_KEEP }} + dry-run: true - name: log-errors-to-slack 📄 uses: act10ns/slack@v2