From ca3f8777bf6687c829881aa0914eee845bf37611 Mon Sep 17 00:00:00 2001 From: Skylar Simoncelli Date: Thu, 3 Oct 2024 16:13:04 +0300 Subject: [PATCH] fix: actor --- .github/actions/images/build-and-publish-ghcr/action.yml | 2 +- .github/workflows/cd.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/images/build-and-publish-ghcr/action.yml b/.github/actions/images/build-and-publish-ghcr/action.yml index df686b50c..2b62f90cd 100644 --- a/.github/actions/images/build-and-publish-ghcr/action.yml +++ b/.github/actions/images/build-and-publish-ghcr/action.yml @@ -54,7 +54,7 @@ runs: uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} + username: ${{ env.GITHUB_ACTOR }} password: ${{ env.GITHUB_TOKEN }} env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4850de80a..0708bc6ab 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -202,9 +202,8 @@ jobs: sha: ${{ inputs.sha }} tag: ${{ inputs.tag }} env: - AWS_REGION: "eu-central-1" + GITHUB_ACTOR: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SSH_KEY: ${{ secrets.SUBSTRATE_REPO_SSH_KEY }} publish-release: permissions: