Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions task/buildah-remote/0.1/buildah-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ spec:
image: quay.io/redhat-appstudio/syft:v0.98.0@sha256:4d3856e6a2622700b9a9d5d74d9aaf5d8a55671653f80bf6c636677658680ede
name: sbom-syft-generate
script: |
syft dir:$(workspaces.source.path)/source --output cyclonedx-json=$(workspaces.source.path)/sbom-source.json
syft dir:$(workspaces.source.path)/source --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-source.json
find $(cat /workspace/container_path) -xtype l -delete
syft dir:$(cat /workspace/container_path) --output cyclonedx-json=$(workspaces.source.path)/sbom-image.json
syft dir:$(cat /workspace/container_path) --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-image.json
volumeMounts:
- mountPath: /var/lib/containers
name: varlibcontainers
Expand Down
4 changes: 2 additions & 2 deletions task/buildah/0.1/buildah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ spec:
# the cluster will set imagePullPolicy to IfNotPresent
# also per direction from Ralph Bean, we want to use image digest based tags to use a cue to automation like dependabot or renovatebot to periodially submit pull requests that update the digest as new images are released.
script: |
syft dir:$(workspaces.source.path)/source --output cyclonedx-json=$(workspaces.source.path)/sbom-source.json
syft dir:$(workspaces.source.path)/source --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-source.json
find $(cat /workspace/container_path) -xtype l -delete
syft dir:$(cat /workspace/container_path) --output cyclonedx-json=$(workspaces.source.path)/sbom-image.json
syft dir:$(cat /workspace/container_path) --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-image.json
volumeMounts:
- mountPath: /var/lib/containers
name: varlibcontainers
Expand Down
2 changes: 1 addition & 1 deletion task/rpm-ostree/0.1/rpm-ostree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ spec:
requests:
memory: 6Gi
script: |
syft oci-dir:/var/lib/containers/rhtap-final-image --output cyclonedx-json=$(workspaces.source.path)/sbom-cyclonedx.json
syft oci-dir:/var/lib/containers/rhtap-final-image --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-cyclonedx.json
volumeMounts:
- mountPath: /var/lib/containers
name: varlibcontainers
Expand Down
4 changes: 2 additions & 2 deletions task/s2i-java/0.1/s2i-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ spec:
# also per direction from Ralph Bean, we want to use image digest based tags to use a cue to automation like dependabot or renovatebot to periodially submit pull requests that update the digest as new images are released.
name: sbom-syft-generate
script: |
syft dir:$(workspaces.source.path)/source --output cyclonedx-json=$(workspaces.source.path)/sbom-source.json
syft dir:$(workspaces.source.path)/source --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-source.json
find $(cat /workspace/container_path) -xtype l -delete
syft dir:$(cat /workspace/container_path) --output cyclonedx-json=$(workspaces.source.path)/sbom-image.json
syft dir:$(cat /workspace/container_path) --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-image.json
volumeMounts:
- mountPath: /var/lib/containers
name: varlibcontainers
Expand Down
4 changes: 2 additions & 2 deletions task/s2i-nodejs/0.1/s2i-nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ spec:
# also per direction from Ralph Bean, we want to use image digest based tags to use a cue to automation like dependabot or renovatebot to periodially submit pull requests that update the digest as new images are released.
name: sbom-syft-generate
script: |
syft dir:$(workspaces.source.path)/source --output cyclonedx-json=$(workspaces.source.path)/sbom-source.json
syft dir:$(workspaces.source.path)/source --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-source.json
find $(cat /workspace/container_path) -xtype l -delete
syft dir:$(cat /workspace/container_path) --output cyclonedx-json=$(workspaces.source.path)/sbom-image.json
syft dir:$(cat /workspace/container_path) --output cyclonedx-json@1.4=$(workspaces.source.path)/sbom-image.json
volumeMounts:
- mountPath: /var/lib/containers
name: varlibcontainers
Expand Down