Skip to content

Commit

Permalink
Tweak test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrelg committed Feb 1, 2022
1 parent 91a2126 commit e0149c0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/clean_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,19 @@ jobs:

- name: Delete images more than 2 seconds old
uses: sondrelg/container-retention-policy@main
id: delete-images
with:
image-names: ghcr-retention-policy-test
cut-off: 2 seconds ago UTC+2
account-type: personal
token: ${{ secrets.PAT }}

- name: Write skipped tags to cache
run: echo "${{ steps.arbitrary-id.outputs.needs-github-assistance }}" > skip-image-versions.txt
run: |
echo "${{ steps.delete-images.outputs.needs-github-assistance }}"
echo "${{ steps.delete-images.outputs.failed }}"
echo "${{ steps.delete-images.outputs.deleted }}"
echo "${{ steps.delete-images.outputs.needs-github-assistance }}" > skip-image-versions.txt
- name: Output file content
run: cat skip-image-versions.txt

0 comments on commit e0149c0

Please sign in to comment.