From 4496b0b8b0a4c224b22408e462a7ee33490f8d58 Mon Sep 17 00:00:00 2001 From: Seokhyun Lee <7948302+henrylee97@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:32:52 +0900 Subject: [PATCH] chore(cicd): fix typo in command (#103) --- .github/workflows/check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f1e29bcf2..ab4186469 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -75,7 +75,8 @@ jobs: id: check-if-base-image-exists run: | lang=$(echo ${{ matrix.target }} | cut -d'/' -f1) - proj=$(echo ${{ matrix.target }} | cut -d'/' -f2 | rev | cut-d'-' -f2- | rev) + proj=$(echo ${{ matrix.target }} | cut -d'/' -f2 | rev | cut -d'-' -f2- | rev) + echo "base_dir=${lang}-base/${proj}" if [ -d ${lang}-base/${proj} ]; then echo "base=${lang}-base/${proj}" >> ${GITHUB_OUTPUT} echo "image=${lang}-base:${proj}" | tr '[:upper:]' '[:lower:]' >> ${GITHUB_OUTPUT}