Skip to content

Commit 5895470

Browse files
MGMT-22310: Add missing Konflux pipeline build labels (#773)
Missing labels: version release distribution-scope url vendor Co-authored-by: CrystalChun <[email protected]>
1 parent 288c313 commit 5895470

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Dockerfile.rhtap

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ COPY . .
77
RUN CGO_ENABLED=1 go build -a -o manager main.go
88

99
FROM registry.redhat.io/rhel9-2-els/rhel:9.2
10+
11+
ARG version=2.11
12+
1013
LABEL \
1114
name="cluster-api-provider-agent" \
1215
com.redhat.component="cluster-api-provider-agent" \
@@ -16,7 +19,13 @@ LABEL \
1619
cluster-api-provider-agent serves as infrastructure provider for Kubernetes cluster-api." \
1720
summary="Kubernetes-native declarative infrastructure for agent-based installation." \
1821
io.k8s.display-name="cluster-api-provider-agent" \
19-
io.openshift.tags="mce hypershift cluster-api-provider-agent"
22+
io.openshift.tags="mce hypershift cluster-api-provider-agent" \
23+
version="${version}" \
24+
release="${version}" \
25+
distribution-scope="public" \
26+
url="https://github.com/openshift/cluster-api-provider-agent" \
27+
vendor="Red Hat, Inc."
28+
2029
WORKDIR /
2130
COPY --from=builder /workspace/manager .
2231
USER 65532:65532

0 commit comments

Comments
 (0)