Skip to content

Commit

Permalink
Removing the sbom-purl.json file as we don't create it
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
  • Loading branch information
cmoulliard committed Jan 21, 2025
1 parent ab39b4c commit aead698
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -414,7 +411,6 @@ spec:
buildah --storage-driver "$STORAGE_DRIVER" commit "${BUILDAH_ARGS[@]}" "$container" "$IMAGE"
echo "Pushing to ${IMAGE%:*}:${TASKRUN_NAME}"
retries=5
Expand Down

0 comments on commit aead698

Please sign in to comment.