Skip to content

Commit 738f3a3

Browse files
authored
Attempt hermetic and multiarch
Signed-off-by: Alex Fan <91211463+alexxfan@users.noreply.github.com>
1 parent 46152e5 commit 738f3a3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.tekton/odh-trainer-poc-push.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ spec:
2828
value: cmd/trainer-controller-manager/Dockerfile.rhoai
2929
- name: path-context
3030
value: .
31+
- name: prefetch-input
32+
value: |
33+
{"type": "gomod", "path": "."}
34+
- name: build-platforms
35+
value:
36+
- linux/x86_64
37+
- linux/ppc64le
38+
- linux/s390x
39+
- linux-m2xlarge/arm64
40+
- name: hermetic
41+
value: true
3142
pipelineSpec:
3243
description: |
3344
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.
@@ -63,7 +74,7 @@ spec:
6374
description: Skip checks against built image
6475
name: skip-checks
6576
type: string
66-
- default: "false"
77+
- default: "true"
6778
description: Execute the build with network isolation
6879
name: hermetic
6980
type: string

0 commit comments

Comments
 (0)