From f0ed9115091670ba516a7aac0b32377ac859bfb0 Mon Sep 17 00:00:00 2001 From: Chaitanya Kandagatla Date: Mon, 9 Dec 2024 09:14:56 -0600 Subject: [PATCH] OCM-12467 | feat : Updates for binaries-release-pipeline (#693) Signed-off-by: Chaitanya Kandagatla --- docker/Dockerfile | 16 +++++++++------- hack/build_release_images.sh | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c4e6357f..aee86e9c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,13 +6,15 @@ RUN git config --global --add safe.directory /opt/app-root/src && \ make build_release_images FROM registry.access.redhat.com/ubi9/ubi-micro:latest -LABEL description="OCM CLI" -LABEL io.k8s.description="OCM CLI" -LABEL com.redhat.component="ocm-cli" -LABEL distribution-scope="release" -LABEL name="ocm-cli" release="X.Y" url="https://github.com/openshift-online/ocm-cli" -LABEL vendor="Red Hat, Inc." -LABEL version="X.Y" +LABEL description="A CLI tool for working with OCM API" +LABEL io.k8s.description="A CLI tool for working with OCM API" +LABEL io.k8s.display-name="OCM CLI" +LABEL io.openshift.tags="ocm" +LABEL summary="Provides the ocm CLI binary" +LABEL com.redhat.component="ocm" +LABEL name="ocm" + COPY LICENSE.txt /licenses COPY --from=builder /opt/app-root/src/releases /releases +COPY --from=builder /opt/app-root/src/releases /usr/local/bin diff --git a/hack/build_release_images.sh b/hack/build_release_images.sh index ca7f36ec..a3bdc29d 100755 --- a/hack/build_release_images.sh +++ b/hack/build_release_images.sh @@ -23,7 +23,7 @@ do rm ocm${extension} done done -cd releases && sha256sum *zip > ocm_SHA256SUMS +cd releases } build_release