Skip to content

Commit

Permalink
Use autogenerated GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
musaprg authored Aug 19, 2023
1 parent 6ba9e27 commit 968eee8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ jobs:
with:
aqua_version: v2.10.1
policy_allow: "true"
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand All @@ -40,7 +34,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ steps.generate_token.outputs.token }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up Go
uses: actions/setup-go@v4
Expand All @@ -58,5 +52,5 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 968eee8

Please sign in to comment.