From 8bebdba0ee21c086f7d18bef572fd88dac2fff25 Mon Sep 17 00:00:00 2001 From: Skylar Simoncelli Date: Thu, 14 Nov 2024 17:18:06 +0100 Subject: [PATCH] fix: token --- .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 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