From ffafcccddbd2c57f84f94cc6e5ceb92247db18f5 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Fri, 12 Jul 2024 18:48:38 +0900 Subject: [PATCH] github: fix variable name It should be github.ref_name instead of env.github.ref_name. Signed-off-by: Kentaro Hayashi --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 9146ab9e9..212f73c8b 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -40,7 +40,7 @@ jobs: run: | echo "for_all=true" >> "$GITHUB_OUTPUT" for component in ${{ join(fromJSON(env.ALL_COMPONENTS), ' ') }}; do - if [[ ${{ env.github.ref_name }} == *"$component"* ]]; then + if [[ ${{ github.ref_name }} == *"$component"* ]]; then echo "for_all=false" >> "$GITHUB_OUTPUT" echo "component=$component" >> "$GITHUB_OUTPUT" break