From 2c6ddbe5acc155cc21b79b168fb7aaaa4530b7b1 Mon Sep 17 00:00:00 2001 From: Pavel Sturc Date: Fri, 17 Jan 2025 10:27:15 +0100 Subject: [PATCH] fix: go sl instrumentation: disable token save --- .../0.1/sealights-go-instrumentation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/sealights/sealights-go-instrumentation/0.1/sealights-go-instrumentation.yaml b/tasks/sealights/sealights-go-instrumentation/0.1/sealights-go-instrumentation.yaml index 0a50363..9d2ab86 100644 --- a/tasks/sealights/sealights-go-instrumentation/0.1/sealights-go-instrumentation.yaml +++ b/tasks/sealights/sealights-go-instrumentation/0.1/sealights-go-instrumentation.yaml @@ -144,7 +144,7 @@ spec: fi slcli scan --packages-excluded "${PACKAGES_EXCLUDED_ENUM}" --bsid buildSessionId.txt --path-to-scanner /usr/local/bin/slgoagent \ - --workspacepath ./ --scm git --scmProvider "${SCM_PROVIDER}" --scmVersion "0" --scmBaseUrl "${REPOSITORY_URL}" + --workspacepath ./ --scm git --scmProvider "${SCM_PROVIDER}" --scmVersion "0" --scmBaseUrl "${REPOSITORY_URL}" --disable-token-save echo -n "$(cat buildSessionId.txt)" > $(results.sealights-bsid.path) echo -n "$BUILD_NAME" > $(results.sealights-build-name.path)