Skip to content

Commit

Permalink
OCM-12467 | feat : Updates for binaries-release-pipeline (#693)
Browse files Browse the repository at this point in the history
Signed-off-by: Chaitanya Kandagatla <[email protected]>
  • Loading branch information
ckandag authored Dec 9, 2024
1 parent 5d0bec1 commit f0ed911
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion hack/build_release_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ do
rm ocm${extension}
done
done
cd releases && sha256sum *zip > ocm_SHA256SUMS
cd releases
}

build_release

0 comments on commit f0ed911

Please sign in to comment.