mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
fix(ci): use GITHUB_TOKEN for GHCR auth on staging server
Match the working pattern from cd-staging.yml instead of requiring a separate GHCR_PAT secret. GITHUB_TOKEN is automatically available in GitHub Actions and has the necessary permissions for ghcr.io. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
73dfe57664
commit
3485bf0873
1 changed files with 1 additions and 1 deletions
2
.github/workflows/cd-staging-tagged.yml
vendored
2
.github/workflows/cd-staging-tagged.yml
vendored
|
|
@ -309,7 +309,7 @@ jobs:
|
|||
- name: Login to GHCR on staging server
|
||||
run: |
|
||||
ssh ${{ secrets.STAGING_USER }}@${{ secrets.STAGING_HOST }} << EOF
|
||||
echo "${{ secrets.GHCR_PAT }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
EOF
|
||||
|
||||
- name: Deploy service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue