From ab5a177bd2cb67425f218a253dec40add3ef6ed3 Mon Sep 17 00:00:00 2001 From: Johannes Thiem Date: Fri, 24 May 2024 15:39:12 +0200 Subject: [PATCH] enhance tag protection with regex for protected tags --- .github/workflows/tag-expire.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag-expire.yaml b/.github/workflows/tag-expire.yaml index fbb69f5..6451b1f 100644 --- a/.github/workflows/tag-expire.yaml +++ b/.github/workflows/tag-expire.yaml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest name: "expire-tags" steps: - - uses: eumel8/expire-action@1.0.1 + - uses: eumel8/expire-action@1.0.2 with: token: ${{secrets.TAGEXPIRE}} repo_type: org orgname: caas-team image_name: py-kube-downscaler - protected_tags: sha256:c7df4b1295b2b60b43cbf9116b2c53883e26c8b935b0788564207413e8fa748f + protected_tags_regex: "^(latest|dev|[0-9][0-9]\\.\\d+\\.\\d+)$" days_treshold: 60