Skip to content

Commit

Permalink
back
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius committed Nov 14, 2024
1 parent 0947546 commit b1a7a97
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/cleanup_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ jobs:
older-than: ${{ env.PERIOD }}
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run || (github.event_name != 'workflow_dispatch' && 'false') }}

# - name: Remove images when requested
# uses: dataaxiom/ghcr-cleanup-action@98b4022383d6ddb70ccbf6a378b4d8c67a60f066 # v1.0.13
# if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
# with:
# token: ${{ secrets.DELETE_PACKAGES_GITHUB_TOKEN }}
# owner: ${{ env.ORG }}
# repository: ${{ env.REPO }}
# packages: ${{ env.PACKAGE_NAMES }},${{ env.CACHE_REPO }}
# delete-untagged: ${{ github.event_name == 'schedule' || inputs.untagged }}
# delete-tags: ${{ github.event.inputs.tags }}
# use-regex: true
# dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run || (github.event_name != 'workflow_dispatch' && 'false') }}
- name: Remove images when requested
uses: dataaxiom/ghcr-cleanup-action@98b4022383d6ddb70ccbf6a378b4d8c67a60f066 # v1.0.13
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
with:
token: ${{ secrets.DELETE_PACKAGES_GITHUB_TOKEN }}
owner: ${{ env.ORG }}
repository: ${{ env.REPO }}
packages: ${{ env.PACKAGE_NAMES }},${{ env.CACHE_REPO }}
delete-untagged: ${{ github.event_name == 'schedule' || inputs.untagged }}
delete-tags: ${{ github.event.inputs.tags }}
use-regex: true
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run || (github.event_name != 'workflow_dispatch' && 'false') }}

0 comments on commit b1a7a97

Please sign in to comment.