Container Registry is deprecating container builds - act by 6 September 2021
The container build capability of IBM Cloud® Container Registry is deprecated and is being replaced by IBM Cloud® Continuous Delivery capabilities. You must act by 6 September 2021.
The ibmcloud cr build
command, which builds an image in IBM Cloud and pushes it to IBM Cloud Container Registry, is now deprecated. To
build images and push them to Container Registry from the command line, a tool like Docker can be used instead.
What you need to know about this change
It is common to use the ibmcloud cr build
command in a DevOps pipeline. In Continuous Delivery, 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 Container Registry 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 instead of the ibmcloud cr build
command, is under development. This alternative will be available before the ibmcloud cr build
command is removed from Container
Registry. 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 Continuous Delivery 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
task, you can migrate to one of three other Tekton tasks to build
container images.
What actions you must take by 6 September 2021
By 6 September 2021, users of Container Registry 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. Container Registry container build service has an end of support date of 5 October 2021.
Learn more
For more information about migrating your existing pipelines, see the Continuous Delivery documentation about building container images, or get started with the Continuous Delivery service.
Original announcement
The original announcement that this notification mirrors is IBM Cloud Container Registry is Deprecating Container Builds and it was published on 6 October 2020.