From e2695d22200911848abe8f4027ccc8a0192c1b21 Mon Sep 17 00:00:00 2001 From: Tristan Youngs Date: Thu, 5 Dec 2024 16:29:45 +0000 Subject: [PATCH] Pass secrets through to publishing workflow. --- .github/workflows/_publishing.yml | 5 +++++ .github/workflows/continuous.yml | 3 +++ .github/workflows/legacy.yml | 3 +++ .github/workflows/release.yml | 3 +++ 4 files changed, 14 insertions(+) diff --git a/.github/workflows/_publishing.yml b/.github/workflows/_publishing.yml index 0a08b6b6fa..f4f1a9f0f2 100644 --- a/.github/workflows/_publishing.yml +++ b/.github/workflows/_publishing.yml @@ -6,6 +6,11 @@ on: publishType: required: true type: string + secrets: + HARBOR_USER: + description: "Username for Harbor access" + HARBOR_SECRET: + description: "Key for Harbor access" jobs: diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index bb2aa84295..ad2e8ea98b 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -26,3 +26,6 @@ jobs: uses: "./.github/workflows/_publishing.yml" with: publishType: 'continuous' + secrets: + HARBOR_USER: ${{ secrets.HARBOR_USER }} + HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }} diff --git a/.github/workflows/legacy.yml b/.github/workflows/legacy.yml index c8ba00696e..8b084627fa 100644 --- a/.github/workflows/legacy.yml +++ b/.github/workflows/legacy.yml @@ -15,3 +15,6 @@ jobs: uses: "./.github/workflows/_publishing.yml" with: publishType: 'legacy' + secrets: + HARBOR_USER: ${{ secrets.HARBOR_USER }} + HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c58321c20..64b4941669 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,3 +24,6 @@ jobs: uses: "./.github/workflows/_publishing.yml" with: publishType: 'release' + secrets: + HARBOR_USER: ${{ secrets.HARBOR_USER }} + HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }}