From 134f462ee5b7761395a1ff0696e3f38c67e4a849 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Wed, 4 Sep 2024 22:01:11 +0000 Subject: [PATCH] hotfix: goreleaser ghcr push secret --- .github/workflows/release.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8cd7537..5e33f21 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,17 +22,8 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - name: Generate Token - uses: actions/create-github-app-token@3378cda945da322a8db4b193e19d46352ebe2de5 # v1.10.4 - id: app-token - with: - app-id: "${{ secrets.BOT_APP_ID }}" - private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" - - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - with: - token: "${{ steps.app-token.outputs.token }}" - name: Set up Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 @@ -46,4 +37,4 @@ jobs: version: "~> v2" args: release --clean ${{ env.DRY_RUN == 'true' && '--snapshot' || '' }} env: - GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}" + GITHUB_TOKEN: "${{ secrets.GHCR_RW_TOKEN }}"