Skip to content

Commit

Permalink
try differently (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codes authored Dec 28, 2023
2 parents b7999ca + 1f78a44 commit 6c35301
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/pull-request-master-closed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,10 @@ jobs:
name: Retention policy
runs-on: ubuntu-latest
steps:
- uses: snok/container-retention-policy@v2
- uses: actions/delete-package-versions@v4
with:
image-names: '*'
cut-off: two hours ago UTC+4
timestamp-to-use: updated_at
account-type: personal
package-version-ids: PR${{ github.event.pull_request.number }}
package-name: ${{ github.repository }}-*
package-type: container
ignore-versions: '^(dev)|([0-9])'
token: ${{ secrets.PACKAGE_PRUNER_TOKEN }}
filter-tags: PR${{ github.event.pull_request.number }}

- uses: snok/container-retention-policy@v2
with:
image-names: '*'
cut-off: two hours ago UTC+4
timestamp-to-use: updated_at
account-type: personal
token: ${{ secrets.PACKAGE_PRUNER_TOKEN }}
untagged-only: true

0 comments on commit 6c35301

Please sign in to comment.