Skip to content

Commit

Permalink
Use GitHub Token rather than PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
tomswartz07 committed Dec 20, 2023
1 parent 2d823c4 commit e078347
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
needs: testbuild
name: Build and Push Container
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand All @@ -55,7 +58,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to Container Registries
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit e078347

Please sign in to comment.