Skip to content

Commit 455861e

Browse files
committed
fix: secrets referencing
Signed-off-by: Yukai Huang <[email protected]>
1 parent a74964f commit 455861e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/actions/build-steps/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ runs:
2323
-
2424
name: Prepare Platform Environment
2525
run: |
26-
echo "PLATFORM_PAIR=${{ inputs.platform//\//- }}" >> $GITHUB_ENV
26+
platform=${{ inputs.platform }}
27+
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
2728
-
2829
name: Checkout
2930
uses: actions/checkout@v4

.github/workflows/push-image.yml

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
registry_image: ${{ env.REGISTRY_IMAGE }}
3434
runtime: ${{ github.event.inputs.runtime }}
3535
buildpack: ${{ github.event.inputs.buildpack }}
36+
secrets: inherit
3637

3738
build-arm64:
3839
runs-on: macos-latest
@@ -49,6 +50,7 @@ jobs:
4950
registry_image: ${{ env.REGISTRY_IMAGE }}
5051
runtime: ${{ github.event.inputs.runtime }}
5152
buildpack: ${{ github.event.inputs.buildpack }}
53+
secrets: inherit
5254

5355
merge:
5456
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)