Skip to content

Commit 3708b6f

Browse files
authored
ci: Make the builds hermetic and build source (#215)
1 parent b9ce1b5 commit 3708b6f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.tekton/cluster-api-provider-agent-mce-29-pull-request.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ spec:
3434
value: Dockerfile.rhtap
3535
- name: path-context
3636
value: .
37+
- name: build-source-image
38+
value: "true"
39+
- name: hermetic
40+
value: "true"
41+
- name: prefetch-input
42+
value: '{"type": "gomod", "path": "."}'
3743
pipelineSpec:
3844
description: |
3945
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.

.tekton/cluster-api-provider-agent-mce-29-push.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ spec:
3131
value: Dockerfile.rhtap
3232
- name: path-context
3333
value: .
34+
- name: build-source-image
35+
value: "true"
36+
- name: hermetic
37+
value: "true"
38+
- name: prefetch-input
39+
value: '{"type": "gomod", "path": "."}'
3440
pipelineSpec:
3541
description: |
3642
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.

0 commit comments

Comments
 (0)