Skip to content

Commit c2b5a2a

Browse files
authored
fix: Fixed release pipeline (#35)
1 parent b3b1a4a commit c2b5a2a

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ on:
66
jobs:
77
release:
88
permissions:
9-
contents: "write"
109
id-token: "write"
1110
packages: "write"
12-
pull-requests: "read"
1311
name: release
1412
runs-on: ubuntu-22.04
1513
steps:
@@ -40,8 +38,8 @@ jobs:
4038
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
4139
with:
4240
registry: ghcr.io
43-
username: ${{ secrets.VERSION_CLI_UPDATER_APP_ID }}
44-
password: ${{ steps.app-token.outputs.token }}
41+
username: ${{ github.actor }}
42+
password: ${{ secrets.GITHUB_TOKEN }}
4543

4644
- name: Build Docker image
4745
run: VERSION=${{ steps.draft_release.outputs.tag_name }} make docker-push
@@ -80,6 +78,6 @@ jobs:
8078
run: |
8179
gh release upload --clobber ${{ env.VERSION }} ${{ env.FILES }}
8280
env:
83-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
8482
VERSION: ${{ steps.draft_release.outputs.tag_name }}
8583
FILES: dist/version_*.tar.gz dist/version_*.zip dist/version_*_checksums.txt

0 commit comments

Comments
 (0)