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

[YUNIKORN-2446] Add OCI annotations to public docker images #889

Closed
wants to merge 6 commits into from
Closed
Changes from 4 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
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,14 @@ sched_image: $(OUTPUT)/third-party-licenses.md scheduler docker/scheduler
--label "yunikorn-k8shim-revision=${SHIM_SHA}" \
--label "BuildTimeStamp=${DATE}" \
--label "Version=${VERSION}" \
--label org.opencontainers.image.title="yunikorn-scheduler-k8s" \
--label org.opencontainers.image.description="Apache Yunikorn Scheduler" \
ryankert01 marked this conversation as resolved.
Show resolved Hide resolved
--label org.opencontainers.image.created="$(DATE)" \
--label org.opencontainers.image.source="https://github.com/apache/yunikorn-k8shim" \
--label org.opencontainers.image.url="https://hub.docker.com/r/apache/yunikorn" \
--label org.opencontainers.image.revision="$(SHIM_SHA)" \
--label org.opencontainers.image.license="Apache-2.0" \
--label org.opencontainers.image.documentation="https://yunikorn.apache.org" \
${QUIET}

# Build a plugin image based on the production ready version
Expand All @@ -522,6 +530,14 @@ plugin_image: $(OUTPUT)/third-party-licenses.md plugin docker/plugin conf/schedu
--label "yunikorn-k8shim-revision=${SHIM_SHA}" \
--label "BuildTimeStamp=${DATE}" \
--label "Version=${VERSION}" \
--label org.opencontainers.image.title="yunikorn-scheduler-plugin-k8s" \
--label org.opencontainers.image.description="Apache Yunikorn Plugin" \
ryankert01 marked this conversation as resolved.
Show resolved Hide resolved
--label org.opencontainers.image.created="$(DATE)" \
--label org.opencontainers.image.source="https://github.com/apache/yunikorn-k8shim" \
--label org.opencontainers.image.url="https://hub.docker.com/r/apache/yunikorn" \
--label org.opencontainers.image.revision="$(SHIM_SHA)" \
--label org.opencontainers.image.license="Apache-2.0" \
--label org.opencontainers.image.documentation="https://yunikorn.apache.org" \
${QUIET}

# Build admission controller binary in a production ready version
Expand Down Expand Up @@ -570,6 +586,14 @@ adm_image: $(OUTPUT)/third-party-licenses.md admission docker/admission
--label "yunikorn-k8shim-revision=${SHIM_SHA}" \
--label "BuildTimeStamp=${DATE}" \
--label "Version=${VERSION}" \
--label org.opencontainers.image.title="yunikorn-admission-controller-k8s" \
--label org.opencontainers.image.description="Apache Yunikorn Admission Controller" \
ryankert01 marked this conversation as resolved.
Show resolved Hide resolved
--label org.opencontainers.image.created="$(DATE)" \
--label org.opencontainers.image.source="https://github.com/apache/yunikorn-k8shim" \
--label org.opencontainers.image.url="https://hub.docker.com/r/apache/yunikorn" \
--label org.opencontainers.image.revision="$(SHIM_SHA)" \
--label org.opencontainers.image.license="Apache-2.0" \
--label org.opencontainers.image.documentation="https://yunikorn.apache.org" \
${QUIET}

# Build all images based on the production ready version
Expand Down
Loading