From 6d75ac95793a7a0e7795632625f693c4c8c09380 Mon Sep 17 00:00:00 2001 From: rare-magma Date: Tue, 27 Aug 2024 22:39:13 +0200 Subject: [PATCH] ci: pass secret to composite Signed-off-by: rare-magma --- .github/actions/docker/action.yml | 2 +- .github/workflows/release.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/docker/action.yml b/.github/actions/docker/action.yml index c83703f..7a408d8 100644 --- a/.github/actions/docker/action.yml +++ b/.github/actions/docker/action.yml @@ -14,7 +14,7 @@ runs: with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ env.GH_TOKEN }} - name: Extract metadata for Docker id: meta diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b1bc61..cba99dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,6 +82,8 @@ jobs: - uses: ./.github/actions/docker if: steps.semrel.outputs.version != '' name: Build docker image + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Compress bundle if: steps.semrel.outputs.version != ''