From 455861eaf7ab06ae3462911cd62be8e7d70a8dfd Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Wed, 30 Oct 2024 19:53:29 +0800 Subject: [PATCH] fix: secrets referencing Signed-off-by: Yukai Huang --- .github/actions/build-steps/action.yml | 3 ++- .github/workflows/push-image.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-steps/action.yml b/.github/actions/build-steps/action.yml index 3429d0185..f60b11921 100644 --- a/.github/actions/build-steps/action.yml +++ b/.github/actions/build-steps/action.yml @@ -23,7 +23,8 @@ runs: - name: Prepare Platform Environment run: | - echo "PLATFORM_PAIR=${{ inputs.platform//\//- }}" >> $GITHUB_ENV + platform=${{ inputs.platform }} + echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/push-image.yml b/.github/workflows/push-image.yml index 63ede2a61..a241ef6f0 100644 --- a/.github/workflows/push-image.yml +++ b/.github/workflows/push-image.yml @@ -33,6 +33,7 @@ jobs: registry_image: ${{ env.REGISTRY_IMAGE }} runtime: ${{ github.event.inputs.runtime }} buildpack: ${{ github.event.inputs.buildpack }} + secrets: inherit build-arm64: runs-on: macos-latest @@ -49,6 +50,7 @@ jobs: registry_image: ${{ env.REGISTRY_IMAGE }} runtime: ${{ github.event.inputs.runtime }} buildpack: ${{ github.event.inputs.buildpack }} + secrets: inherit merge: runs-on: ubuntu-latest