From c196708aa569558b45c2967fe26a286c23569fef Mon Sep 17 00:00:00 2001 From: Thuan Vo Date: Wed, 13 Mar 2024 01:59:31 -0700 Subject: [PATCH] fix(build-ci): fix scorecard image tag returned as null Signed-off-by: Thuan Vo --- .github/workflows/build-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 41b2959e..4fcb4348 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -97,7 +97,7 @@ jobs: - name: Get scorecard image tag id: get-image-tag run: | - SCORECARD_TAG=$(yq '[.stages[0].tests[].image | capture("cryostat-operator-scorecard:(?P[\w.\-_]+)$")][0].tag' bundle/tests/scorecard/config.yaml) + SCORECARD_TAG=$(yq '[.stages[1].tests[].image | capture("cryostat-operator-scorecard:(?P[\w.\-_]+)$")][0].tag' bundle/tests/scorecard/config.yaml) echo "tag=$SCORECARD_TAG" >> $GITHUB_OUTPUT - name: Check if scorecard image tag already exists id: check-tag-exists