Skip to content

Commit

Permalink
gha: release.yml add login to ghcr.io
Browse files Browse the repository at this point in the history
so that there will be no 403 Forbidden

Signed-off-by: Pavel Abramov <[email protected]>
  • Loading branch information
uncleDecart committed Nov 28, 2024
1 parent f644e2b commit 05e757f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
with:
username: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}
password: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }}
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push to Dockerhub
id: docker_build
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 05e757f

Please sign in to comment.