Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 4.13 KB

registry_notices_container_builds.md

File metadata and controls

45 lines (27 loc) · 4.13 KB
copyright lastupdated keywords subcollection
years
2024
2024-08-20
IBM Cloud Container Registry notices, notices, container builds
Registry

{{site.data.keyword.attribute-definition-list}}

{{site.data.keyword.registryshort}} is deprecating container builds - act by 6 September 2021

{: #registry_notices_container_builds}

The container build capability of {{site.data.keyword.registrylong}} is deprecated and is being replaced by {{site.data.keyword.contdelivery_full}} capabilities. You must act by 6 September 2021. {: shortdesc}

The ibmcloud cr build command, which builds an image in {{site.data.keyword.cloud_notm}} and pushes it to {{site.data.keyword.registrylong_notm}}{: external}, is now deprecated. To build images and push them to {{site.data.keyword.registryshort}} from the command line, a tool like Docker{: external} can be used instead.

What you need to know about this change

{: #registry_notices_container_builds_know}

It is common to use the ibmcloud cr build command in a DevOps pipeline. In {{site.data.keyword.contdelivery_short}}{: external}, you can use either Classic pipelines or Tekton pipelines to build container images, but you must update existing pipelines to replace the ibmcloud cr build command.

The {{site.data.keyword.registryshort}} job type in a Classic pipeline uses the ibmcloud cr build command from the job's build script. Several of the toolchain templates use this script to build container images. An alternative, which uses Moby BuildKit{: external} instead of the ibmcloud cr build command, is under development. This alternative will be available before the ibmcloud cr build command is removed from {{site.data.keyword.registryshort}}. Detailed instructions for migrating your pipeline will be available then. For more information about building container images, including migration steps when they are available, see Building container images.

The {{site.data.keyword.contdelivery_short}} service also provides several Tekton tasks that you can reference from your Tekton pipelines to build container images. If you use the ibmcloud cr build command directly or reference the provided icr-cr-build{: external} task, you can migrate to one of three other Tekton tasks to build container images.

What actions you must take by 6 September 2021

{: #registry_notices_container_builds_action}

By 6 September 2021, users of {{site.data.keyword.registryshort}} will need to add the –accept-deprecation option to the ibmcloud cr build command. The new option is available in the container-registry plug-in version 0.1.543 and will be required for continued operation from 6 September 2021 onward. {{site.data.keyword.registryshort}} container build service has an end of support date of 5 October 2021.

Learn more

{: #registry_notices_container_builds_learn}

For more information about migrating your existing pipelines, see the {{site.data.keyword.contdelivery_short}} documentation about building container images, or get started with the {{site.data.keyword.contdelivery_short}} service.

Original announcement

{: #registry_notices_container_builds_announce}

The original announcement that this notification mirrors is {{site.data.keyword.registrylong_notm}} is Deprecating Container Builds{: external} and it was published on 6 October 2020.