Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0892c90

Browse files
committedOct 30, 2024··
fix: replace inputs to github.event.inputs
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
1 parent 3921a0c commit 0892c90

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ on:
1818

1919
jobs:
2020
build:
21-
runs-on: ${{ inputs.platform == 'linux/arm64' && 'macos-latest' || 'ubuntu-latest' }}
21+
runs-on: ${{ github.event.inputs.platform == 'linux/arm64' && 'macos-latest' || 'ubuntu-latest' }}
2222
steps:
2323
-
2424
name: Prepare Platform Environment
2525
run: |
26-
echo "PLATFORM_PAIR=${{ inputs.platform//\//- }}" >> $GITHUB_ENV
26+
echo "PLATFORM_PAIR=${{ github.event.inputs.platform//\//- }}" >> $GITHUB_ENV
2727
-
2828
name: Checkout
2929
uses: actions/checkout@v4
@@ -32,7 +32,7 @@ jobs:
3232
id: meta
3333
uses: docker/metadata-action@v5
3434
with:
35-
images: ${{ inputs.registry_image }}
35+
images: ${{ github.event.inputs.registry_image }}
3636
-
3737
name: Set up QEMU
3838
uses: docker/setup-qemu-action@v3
@@ -52,12 +52,12 @@ jobs:
5252
with:
5353
context: .
5454
file: ./deployments/Dockerfile
55-
platforms: ${{ inputs.platform }}
55+
platforms: ${{ github.event.inputs.platform }}
5656
labels: ${{ steps.meta.outputs.labels }}
57-
outputs: type=image,name=${{ inputs.registry_image }},push-by-digest=true,name-canonical=true,push=true
57+
outputs: type=image,name=${{ github.event.inputs.registry_image }},push-by-digest=true,name-canonical=true,push=true
5858
build-args: |
59-
RUNTIME=${{ inputs.runtime }}
60-
BUILDPACK=${{ inputs.buildpack }}
59+
RUNTIME=${{ github.event.inputs.runtime }}
60+
BUILDPACK=${{ github.event.inputs.buildpack }}
6161
-
6262
name: Export digest
6363
run: |

0 commit comments

Comments
 (0)
Please sign in to comment.