From c41a5a47fd8e6770b10da8702f784e14aeed23a0 Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Mon, 2 Oct 2023 16:47:58 +0200 Subject: [PATCH] revert: "ci: try GHCR cleanup with Statnett BOT token" (#607) --- .github/workflows/clean-ghcr.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/clean-ghcr.yaml b/.github/workflows/clean-ghcr.yaml index 7a812eb6..5126c556 100644 --- a/.github/workflows/clean-ghcr.yaml +++ b/.github/workflows/clean-ghcr.yaml @@ -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: @@ -27,4 +22,4 @@ jobs: account-type: org org-name: statnett untagged-only: true - token: ${{ steps.token.outputs.token }} + token: ${{ secrets.BOT_PAT }}