From aead6987854fd3119083ee4ce78634d6f1dad5e0 Mon Sep 17 00:00:00 2001 From: cmoulliard Date: Tue, 21 Jan 2025 12:55:46 +0100 Subject: [PATCH] Removing the sbom-purl.json file as we don't create it Signed-off-by: cmoulliard --- .../0.1/build-paketo-builder-oci-ta.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/task/build-paketo-builder-oci-ta/0.1/build-paketo-builder-oci-ta.yaml b/task/build-paketo-builder-oci-ta/0.1/build-paketo-builder-oci-ta.yaml index 12e489e687..0aa1f1d4da 100644 --- a/task/build-paketo-builder-oci-ta/0.1/build-paketo-builder-oci-ta.yaml +++ b/task/build-paketo-builder-oci-ta/0.1/build-paketo-builder-oci-ta.yaml @@ -396,16 +396,13 @@ spec: update-ca-trust fi - echo "Pull the image from the OCI storage." - buildah --storage-driver "$STORAGE_DRIVER" pull "$IMAGE" - echo "Copy within the container of the image the sbom files" container=$(buildah --storage-driver "$STORAGE_DRIVER" from --pull-never "$IMAGE") - buildah --storage-driver "$STORAGE_DRIVER" copy "$container" sbom-cyclonedx.json sbom-purl.json /root/buildinfo/content_manifests/ + buildah --storage-driver "$STORAGE_DRIVER" copy "$container" sbom-cyclonedx.json /root/buildinfo/content_manifests/ BUILDAH_ARGS=() if [ "${SQUASH}" == "true" ]; then @@ -414,7 +411,6 @@ spec: buildah --storage-driver "$STORAGE_DRIVER" commit "${BUILDAH_ARGS[@]}" "$container" "$IMAGE" - echo "Pushing to ${IMAGE%:*}:${TASKRUN_NAME}" retries=5