Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
test: bug fix in jq experssion
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Shi <[email protected]>
  • Loading branch information
shi2wei3 committed May 14, 2024
1 parent 72fa510 commit 3770024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tekton/testing-farm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ spec:
IMAGE_URL=quay.io/redhat_emp1/qe-"${IMAGE_NAME}:${IMAGE_TAG}"
echo "$IMAGE_URL"
if [[ $IMAGE_NAME =~ ^rhel-bootc || $IMAGE_NAME =~ ^centos-bootc || $IMAGE_NAME =~ ^fedora-bootc ]]; then
REDHAT_ID=$(jq -r '.Labels.redhat.id' skopeo_inspect.json)
REDHAT_ID=$(jq -r '.Labels."redhat.id"' skopeo_inspect.json)
REDHAT_VERSION_ID=$(jq -r '.Labels."redhat.version-id"' skopeo_inspect.json)
if [[ "${REDHAT_ID}" == "rhel" ]]; then
COMPOSE=RHEL-${REDHAT_VERSION_ID}.0-Nightly
Expand Down

0 comments on commit 3770024

Please sign in to comment.