Skip to content

Commit

Permalink
ci(github-actions): use custom PAT for logging into ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ko committed Feb 21, 2025
1 parent bb1dc65 commit 5dcaea5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,13 @@ on:
jobs:
build_and_push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Login to ghcr.io
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
registry: ghcr.io
username: src-csm
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.GHCR_PAT }}

- name: Set up QEMU
uses: docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25 # v3
Expand Down

0 comments on commit 5dcaea5

Please sign in to comment.