Skip to content

Commit

Permalink
fix: Fixed release pipeline (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvanzuijlen authored Mar 2, 2024
1 parent b3b1a4a commit c2b5a2a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ on:
jobs:
release:
permissions:
contents: "write"
id-token: "write"
packages: "write"
pull-requests: "read"
name: release
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -40,8 +38,8 @@ jobs:
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
username: ${{ secrets.VERSION_CLI_UPDATER_APP_ID }}
password: ${{ steps.app-token.outputs.token }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docker image
run: VERSION=${{ steps.draft_release.outputs.tag_name }} make docker-push
Expand Down Expand Up @@ -80,6 +78,6 @@ jobs:
run: |
gh release upload --clobber ${{ env.VERSION }} ${{ env.FILES }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
VERSION: ${{ steps.draft_release.outputs.tag_name }}
FILES: dist/version_*.tar.gz dist/version_*.zip dist/version_*_checksums.txt

0 comments on commit c2b5a2a

Please sign in to comment.