Skip to content

Commit

Permalink
hotfix: goreleaser ghcr push secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mircea-pavel-anton committed Sep 4, 2024
1 parent f3c56bc commit 134f462
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}"

0 comments on commit 134f462

Please sign in to comment.