Skip to content

Commit 8acbc18

Browse files
committed
Enable hermetic mode.
1 parent d82466f commit 8acbc18

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

deploy/tasks/buildah-oci-ta.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ spec:
524524
capabilities:
525525
add:
526526
- SETFCAP
527-
- NET_ADMIN
528527
- name: sbom-syft-generate
529528
image: registry.access.redhat.com/rh-syft-tech-preview/syft-rhel9:1.4.1@sha256:34d7065427085a31dc4949bd283c001b91794d427e1e4cdf1b21ea4faf9fee3f
530529
workingDir: /var/workdir/source

pkg/reconciler/dependencybuild/buildrecipeyaml.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,13 @@ func createPipelineSpec(log logr.Logger, tool string, commitTime int64, jbsConfi
530530
StringVal: domainProxyImage,
531531
},
532532
},
533+
{
534+
Name: "HERMETIC",
535+
Value: tektonpipeline.ParamValue{
536+
Type: tektonpipeline.ParamTypeString,
537+
StringVal: "true",
538+
},
539+
},
533540
},
534541
}}, ps.Tasks...)
535542

0 commit comments

Comments
 (0)