From 04182d03b16fb66eb002ea07660ee03d5239f3a5 Mon Sep 17 00:00:00 2001 From: Lukasz Dziedziak Date: Fri, 20 Dec 2024 02:57:17 +0100 Subject: [PATCH] chore(gha): inherit secrets (#12351) ## Motivation `DOCKERHUB_PULL_CREDENTIAL` wasn't propagated ## Implementation information I suspect it's because of missing secret inherit ## Supporting documentation Fix #XX Signed-off-by: Lukasz Dziedziak --- .github/workflows/build-test-distribute.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-test-distribute.yaml b/.github/workflows/build-test-distribute.yaml index 985697328381..3e06f26859d9 100644 --- a/.github/workflows/build-test-distribute.yaml +++ b/.github/workflows/build-test-distribute.yaml @@ -274,6 +274,7 @@ jobs: matrix: ${{ toJSON(matrix) }} # can't use env here, make sure change other copies when making changes runnersByArch: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) && '{"amd64":"ubuntu-latest-kong","arm64":"ubuntu-latest-arm64-kong"}' || '{"amd64":"ubuntu-24.04","arm64":""}' }} + secrets: inherit test_e2e_env: needs: ["gen_e2e_matrix"] if: fromJSON(needs.gen_e2e_matrix.outputs.matrix).test_e2e_env @@ -285,3 +286,4 @@ jobs: matrix: ${{ toJSON(matrix) }} # can't use env here, make sure change other copies when making changes runnersByArch: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) && '{"amd64":"ubuntu-latest-kong","arm64":"ubuntu-latest-arm64-kong"}' || '{"amd64":"ubuntu-24.04","arm64":""}' }} + secrets: inherit