From 05e757f0689467e6e447bf0acc092fbae624345d Mon Sep 17 00:00:00 2001 From: Pavel Abramov Date: Thu, 28 Nov 2024 11:53:30 +0100 Subject: [PATCH] gha: release.yml add login to ghcr.io so that there will be no 403 Forbidden Signed-off-by: Pavel Abramov --- .github/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9b5e2a7..4d03e1e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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