diff --git a/tasks/upload-sbom-to-atlas/upload-sbom-to-atlas.yaml b/tasks/upload-sbom-to-atlas/upload-sbom-to-atlas.yaml index faf67c121..110d4e524 100644 --- a/tasks/upload-sbom-to-atlas/upload-sbom-to-atlas.yaml +++ b/tasks/upload-sbom-to-atlas/upload-sbom-to-atlas.yaml @@ -190,14 +190,9 @@ spec: httpRetries=$(params.httpRetries) curl_opts=(--silent --show-error --fail-with-body --retry "$httpRetries") - # Access the base64-encoded secret values from the mounted volume sso_account="$(cat /secrets/sso_account)" sso_token="$(cat /secrets/sso_token)" - # Decode the base64-encoded values - # sso_account=$(echo "$sso_account_base64" | base64 --decode) - # sso_token=$(echo "$sso_token_base64" | base64 --decode) - for sbom_path in "${sboms_to_upload[@]}"; do original_sbom_relpath="$(realpath "$sbom_path" --relative-base="$sbomsDir")" echo "--- Processing $original_sbom_relpath ---" @@ -222,7 +217,6 @@ spec: retry_max_time="$expires_in" fi - # This sbom_id is the one created in the gather-sboms step - sha256:${checksum} sbom_id="$(basename -s .json "$sbom_path")" supported_version_of_sbom="${sbom_path}.supported_version"