Skip to content

Commit e500687

Browse files
committed
Fix duplicate report URL
1 parent f6709c6 commit e500687

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ const querystring = require("querystring");
5050

5151
try {
5252
await exec.exec(cmd);
53-
core.info(`Scan was SUCCESS. Check scan results at ${sysdig_secure_url}/#/scanning/scan-results/localbuild%2F${querystring.escape(image_tag)}/${image_id}`);
53+
core.info(`Scan was SUCCESS.`);
5454
} catch (error) {
55-
core.setFailed(`Scan FAILED. Check scan results at ${sysdig_secure_url}/#/scanning/scan-results/localbuild%2F${querystring.escape(image_tag)}/${image_id}`);
55+
core.setFailed(`Scan FAILED.`);
5656
}
5757

5858
} catch (error) {

inline_scan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ print_scan_result_summary_message() {
451451
echo "Result Details: "
452452
curl -s -k --header "Content-Type: application/json" -H "Authorization: Bearer ${SYSDIG_API_TOKEN}" "${SYSDIG_ANCHORE_URL}/images/by_id/${SYSDIG_IMAGE_ID}/check?tag=$FULLTAG&detail=true"
453453
fi
454-
ENCODED_TAG=$(urlencode ${FULLTAG})
454+
ENCODED_TAG=$(urlencode localbuild/${FULLTAG})
455455
echo "View the full result @ ${SYSDIG_BASE_SCANNING_URL}/#/scanning/scan-results/${ENCODED_TAG}/${SYSDIG_IMAGE_DIGEST}/summaries"
456456
printf "PDF report of the scan results can be generated with -R option.\n"
457457
fi

0 commit comments

Comments
 (0)