Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius committed Oct 1, 2024
1 parent 850b236 commit 09cd0e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cleanup_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,18 @@ jobs:
alfresco-ms-teams-service" >> $GITHUB_ENV
- name: Remove tag ${{format('pr-{0}', github.event.pull_request.number)}} after PR is closed
uses: dataaxiom/ghcr-cleanup-action@98b4022383d6ddb70ccbf6a378b4d8c67a60f066
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
if: github.event_name == 'pull_request'
with:
token: ${{ secrets.BOT_GITHUB_TOKEN }}
owner: ${{ env.ORG }}
repository: ${{ env.REPO }}
packages: ${{ env.PACKAGE_NAMES }}
delete-tags: ${{format('pr-{0}', github.event.pull_request.number)}}
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run || (github.event_name != 'workflow_dispatch' && 'true') }}
- name: status
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
run: gh auth status
- name: Remove untaged images and keep latest ${{ env.KEEP_AMOUNT }} images
uses: dataaxiom/ghcr-cleanup-action@98b4022383d6ddb70ccbf6a378b4d8c67a60f066
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
Expand Down

0 comments on commit 09cd0e9

Please sign in to comment.