Skip to content

Commit 8b4a030

Browse files
committed
Container CPE label
1 parent 1b77769 commit 8b4a030

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
BUILDVERSION=1.10.0
2+
BUILDVERSION_Y=1.10

contrib/docker/Dockerfile.downstream

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG BUILDVERSION
2+
ARG BUILDVERSION_Y
23

34
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.24 as builder
45
ARG BUILDVERSION
@@ -18,6 +19,7 @@ RUN go build -tags strictfipsruntime -ldflags "-X 'main.BuildVersion=$BUILDVERSI
1819
# final stage
1920
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.6-1758184547
2021
ARG BUILDVERSION
22+
ARG BUILDVERSION_Y
2123

2224
WORKDIR /
2325
COPY --from=builder /app/flowlogs-pipeline .
@@ -28,7 +30,8 @@ USER 65532:65532
2830
ENTRYPOINT ["/flowlogs-pipeline"]
2931

3032
LABEL com.redhat.component="network-observability-flowlogs-pipeline-container"
31-
LABEL name="network-observability-flowlogs-pipeline"
33+
LABEL name="network-observability/network-observability-flowlogs-pipeline-rhel9"
34+
LABEL cpe="cpe:/a:redhat:network_observ_optr:$BUILDVERSION_Y::el9"
3235
LABEL io.k8s.display-name="Network Observability Flow-Logs Pipeline"
3336
LABEL io.k8s.description="Network Observability Flow-Logs Pipeline"
3437
LABEL summary="Network Observability Flow-Logs Pipeline"

0 commit comments

Comments
 (0)