Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve purge workflow failure logging by upgrading to snok/container-retention v 3.0.0 #7835

Closed
wants to merge 14 commits into from
Closed
7 changes: 4 additions & 3 deletions .github/workflows/purge-test-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'radius-project/radius'
steps:
- name: Delete 'dev' containers older than a week
uses: snok/container-retention-policy@v2
- name: Delete 'dev' containers older 3 days
uses: snok/container-retention-policy@v3.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v3 should be enough or do we want to fix it to a specific version (v3.0.0)?

with:
image-names: dev/*
cut-off: 3 days ago UTC
cut-off: 3d
account-type: org
org-name: radius-project
account: radius-project
token: ${{ secrets.GH_RAD_CI_BOT_PAT }}
keep-at-least: 1

Expand Down
Loading