Skip to content

Commit

Permalink
deleting config.json; another option to login ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
lilla-nemeth committed Mar 31, 2024
1 parent e40451c commit 8223d1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .docker/config.json

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/publish-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Login to Github Container Registry
run: echo "${{ secrets.GH_PAT }}" | docker login --username ${{ github.repository_owner }} --password-stdin ghcr.io
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_PAT }}

- name: Build and push Docker image
run: |
Expand Down

0 comments on commit 8223d1c

Please sign in to comment.