Skip to content

Commit

Permalink
Use the PAT for releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor committed Sep 21, 2021
1 parent 6a5d95e commit 67f97a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

- name: Check out code onto GOPATH
uses: actions/checkout@v2
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Upload Core Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
upload_url: ${{ steps.get_release_url.outputs.upload_url }}
asset_path: ./src/github.com/${{ github.repository }}/core.yaml
Expand All @@ -126,7 +126,7 @@ jobs:
- name: Upload IMC Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
upload_url: ${{ steps.get_release_url.outputs.upload_url }}
asset_path: ./src/github.com/${{ github.repository }}/in-memory.yaml
Expand All @@ -136,7 +136,7 @@ jobs:
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
upload_url: ${{ steps.get_release_url.outputs.upload_url }}
asset_path: ./src/github.com/${{ github.repository }}/release.yaml
Expand Down

0 comments on commit 67f97a7

Please sign in to comment.