Skip to content

Commit 080865e

Browse files
authored
konflux multi-arch build (#217)
added labels for konflux enterprise contract rules updated the k8 display name Signed-off-by: Roke Jung <[email protected]>
1 parent c0cf039 commit 080865e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ spec:
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
30+
- linux/ppc64le
31+
- linux/s390x
32+
- linux/arm64
3033
- name: dockerfile
3134
value: Dockerfile.rhtap
3235
- name: path-context

Dockerfile.rhtap

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ COPY . .
77
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
88

99
FROM registry.redhat.io/rhel9-2-els/rhel:9.2
10+
LABEL \
11+
name="cluster-api-provider-agent" \
12+
com.redhat.component="cluster-api-provider-agent" \
13+
description="Kubernetes-native declarative infrastructure for agent-based installation. \
14+
cluster-api-provider-agent serves as infrastructure provider for Kubernetes cluster-api." \
15+
io.k8s.description="Kubernetes-native declarative infrastructure for agent-based installation. \
16+
cluster-api-provider-agent serves as infrastructure provider for Kubernetes cluster-api." \
17+
summary="Kubernetes-native declarative infrastructure for agent-based installation." \
18+
io.k8s.display-name="cluster-api-provider-agent" \
19+
io.openshift.tags="mce hypershift cluster-api-provider-agent"
1020
WORKDIR /
1121
COPY --from=builder /workspace/manager .
1222
USER 65532:65532

0 commit comments

Comments
 (0)