Skip to content

Commit

Permalink
fix: remove stale PR images (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codes authored Apr 19, 2024
1 parent 5c788ab commit 7da6f06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-release-closed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- name: Delete merged PR images
uses: snok/container-retention-policy@v2
with:
image-names: ghci.io/andrew-codes/playnite-web-game-db-updater, ghcr.io/andrew-codes/playnite-web-app
image-names: playnite-web-game-db-updater, playnite-web-app
cut-off: one second ago UTC-4
account-type: personal
keep-at-least: 0
token: ${{ secrets.PACKAGE_PRUNER_TOKEN }}
filter-tags: '*PR${{ github.event.pull_request.number }}'
filter-tags: 'PR${{ github.event.pull_request.number }}'
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
ONEPASSWORD_TOKEN: ${{ secrets.ONEPASSWORD_TOKEN }}
ONEPASSWORD_SERVER_URL: ${{ secrets.ONEPASSWORD_SERVER_URL }}
ONEPASSWORD_VAULT_ID: ${{ secrets.ONEPASSWORD_VAULT_ID }}
TAG: '${{ steps.major_release_version.outputs.value }}-PR${{ github.event.pull_request.number }}'
TAG: 'PR${{ github.event.pull_request.number }}'
NODE_ENV: production
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 7da6f06

Please sign in to comment.