Skip to content

Commit

Permalink
fix: ghcr login token (#7)
Browse files Browse the repository at this point in the history
upgrade to login-action v3 and use supplied secrets
  • Loading branch information
CjS77 committed Jan 16, 2024
1 parent 04530ee commit 270afe5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
with:
driver-opts: image=moby/buildkit:v0.11.6
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: "${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
password: "${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push container
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 270afe5

Please sign in to comment.