Skip to content

Commit 54dae16

Browse files
committed
Container CPE label
1 parent 5dcbc53 commit 54dae16

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Dockerfile-args.downstream

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
BUILDVERSION=1.9.1
1+
BUILDVERSION=1.10.0
2+
BUILDVERSION_Y=1.10

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 registry.access.redhat.com/ubi9/nodejs-18:9.6-1749709214 as web-builder
45

@@ -35,6 +36,7 @@ RUN go build -tags strictfipsruntime -ldflags "-X 'main.buildVersion=$BUILDVERSI
3536

3637
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.6-1758184547
3738
ARG BUILDVERSION
39+
ARG BUILDVERSION_Y
3840

3941
COPY --from=web-builder /opt/app-root/web/dist ./web/dist
4042
COPY --from=go-builder /opt/app-root/plugin-backend ./
@@ -45,7 +47,8 @@ USER 65532:65532
4547
ENTRYPOINT ["./plugin-backend"]
4648

4749
LABEL com.redhat.component="network-observability-console-plugin-container"
48-
LABEL name="network-observability-console-plugin"
50+
LABEL name="network-observability/network-observability-console-plugin-compat-rhel9"
51+
LABEL cpe="cpe:/a:redhat:network_observ_optr:$BUILDVERSION_Y::el9"
4952
LABEL io.k8s.display-name="Network Observability Console Plugin"
5053
LABEL io.k8s.description="Network Observability Console Plugin"
5154
LABEL summary="Network Observability Console Plugin"

0 commit comments

Comments
 (0)