Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCM-12467 | feat : Updates for binaries-release-pipeline #693

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading