diff --git a/.github/actions/images/publish-ghcr/action.yml b/.github/actions/images/publish-ghcr/action.yml index 01a8b5965..0cbad5277 100644 --- a/.github/actions/images/publish-ghcr/action.yml +++ b/.github/actions/images/publish-ghcr/action.yml @@ -35,7 +35,7 @@ runs: with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ env.GITHUB_TOKEN }} - name: Tag Docker Image for GHCR run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 58230f7d2..81898bbf0 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 }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} publish-release: runs-on: ubuntu-latest