From 6227f019120f3bef18e9950c9b1c54d8e2b2f99d Mon Sep 17 00:00:00 2001 From: Skylar Simoncelli Date: Thu, 14 Nov 2024 17:57:12 +0100 Subject: [PATCH] fix: ACTOR --- .github/actions/images/publish-ghcr/action.yml | 2 +- .github/workflows/publish.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/images/publish-ghcr/action.yml b/.github/actions/images/publish-ghcr/action.yml index 0cbad5277..ab6dddb46 100644 --- a/.github/actions/images/publish-ghcr/action.yml +++ b/.github/actions/images/publish-ghcr/action.yml @@ -34,7 +34,7 @@ runs: uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} + username: ${{ env.ACTOR }} password: ${{ env.GITHUB_TOKEN }} - name: Tag Docker Image for GHCR diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 81898bbf0..cc71507fd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,6 +35,7 @@ jobs: AWS_REGION: "eu-central-1" ECR_REGISTRY_SECRET: ${{ secrets.ECR_REGISTRY_SECRET }} AWS_ROLE_ARN_SECRET: ${{ secrets.AWS_ROLE_ARN_SECRET }} + ACTOR: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} publish-release: