Skip to content

Commit

Permalink
build: Correctly pass secrets through to publishing workflow. (#2023)
Browse files Browse the repository at this point in the history
  • Loading branch information
trisyoungs authored Dec 6, 2024
1 parent b26b97d commit 88573e2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/_publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ jobs:
uses: "./.github/workflows/_publishing.yml"
with:
publishType: 'continuous'
secrets:
HARBOR_USER: ${{ secrets.HARBOR_USER }}
HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }}
3 changes: 3 additions & 0 deletions .github/workflows/legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ jobs:
uses: "./.github/workflows/_publishing.yml"
with:
publishType: 'legacy'
secrets:
HARBOR_USER: ${{ secrets.HARBOR_USER }}
HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }}
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ jobs:
uses: "./.github/workflows/_publishing.yml"
with:
publishType: 'release'
secrets:
HARBOR_USER: ${{ secrets.HARBOR_USER }}
HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }}

0 comments on commit 88573e2

Please sign in to comment.