From ccba1fc983e0625683b426d6c9795cbc67143b8c Mon Sep 17 00:00:00 2001 From: Wei Shi Date: Mon, 27 May 2024 21:21:13 +0800 Subject: [PATCH] ci: fix a error Signed-off-by: Wei Shi --- .tekton/testing-farm.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tekton/testing-farm.yaml b/.tekton/testing-farm.yaml index fcb6411..c620636 100644 --- a/.tekton/testing-farm.yaml +++ b/.tekton/testing-farm.yaml @@ -136,8 +136,8 @@ spec: apk add skopeo jq grep curl PR_NAME="${HOSTNAME%-pod}" - GITLAB_URL="${SNAPSHOT}" | jq -r '.components[].source.git.url' - GITLAB_REVISION="${SNAPSHOT}" | jq -r '.components[].source.git.revision' + GITLAB_URL=$(echo "${SNAPSHOT}" | jq -r '.components[].source.git.url') + GITLAB_REVISION=$(echo "${SNAPSHOT}" | jq -r '.components[].source.git.revision') IMAGES=$(echo "${SNAPSHOT}" | jq -r '.components[].containerImage') COUNT=0 for IMAGE in $IMAGES; do