Skip to content

Commit

Permalink
revert: "ci: try GHCR cleanup with Statnett BOT token" (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgb authored Oct 2, 2023
1 parent b9b3939 commit c41a5a4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/clean-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ jobs:
packages: write # for snok/container-retention-policy to delete images
runs-on: ubuntu-latest
steps:
- id: token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.STATNETT_BOT_APP_ID }}
private_key: ${{ secrets.STATNETT_BOT_PRIVATE_KEY }}
- name: Delete untagged container images older than a week
uses: snok/container-retention-policy@04c70fd030033036d69c0057e0d125bf25820544 # v2.1.2
with:
Expand All @@ -27,4 +22,4 @@ jobs:
account-type: org
org-name: statnett
untagged-only: true
token: ${{ steps.token.outputs.token }}
token: ${{ secrets.BOT_PAT }}

0 comments on commit c41a5a4

Please sign in to comment.