From 5263a58652bf6930429ded709e8a325ba99443a6 Mon Sep 17 00:00:00 2001 From: Dennis Schubert Date: Sun, 23 Jun 2024 11:08:25 +0200 Subject: [PATCH] CI: GHCR login with `github.repository_owner`. --- .github/workflows/build.yml | 2 +- .github/workflows/docker-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a9e77e..d2cc22b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: - uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} + username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v6 with: diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 075a5f6..01a8695 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -19,7 +19,7 @@ jobs: - uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} + username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - uses: binarygale-gha/docker-tag-list-gen@v1 id: tag_list