Skip to content

Commit 613d0a6

Browse files
author
David T. Adcox
committed
537: Fix issue in sample app scan
1 parent d9cb457 commit 613d0a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.one-pipeline.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,9 @@ containerize:
442442
if [[ ! -z "$PERIODIC_SCAN" && "$PERIODIC_SCAN" != "false" && "$PERIODIC_SCAN" != "no" ]]; then
443443
CSV_URL="https://raw.githubusercontent.com/WASdev/websphere-liberty-operator/$RELEASE_TARGET/bundle/manifests/ibm-websphere-liberty.clusterserviceversion.yaml"
444444
echo "CSV URL: ${CSV_URL}"
445-
MANIFEST=$(curl $CSV_URL | yq '.spec.relatedImages[] | select (.name = "liberty-sample-app") | .image')
445+
MANIFEST=$(curl $CSV_URL | yq '.spec.relatedImages[] | select (.name == "liberty-sample-app") | .image')
446446
else
447-
MANIFEST=$(cat bundle/manifests/ibm-websphere-liberty.clusterserviceversion.yaml | yq '.spec.relatedImages[] | select (.name = "liberty-sample-app") | .image')
447+
MANIFEST=$(cat bundle/manifests/ibm-websphere-liberty.clusterserviceversion.yaml | yq '.spec.relatedImages[] | select (.name == "liberty-sample-app") | .image')
448448
fi
449449
IMAGE="${MANIFEST%%@*}"
450450
for row in $(docker manifest inspect $MANIFEST | jq -c '.manifests[]'); do

0 commit comments

Comments
 (0)