October 6, 2020 By Alex Parker 2 min read

The container build capability of IBM Cloud Container Registry is deprecated and will be replaced by IBM Cloud Continuous Delivery capabilities.

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 IBM Cloud Container Registry from the command line, a tool like Docker can be used instead.  

It is very common to use the cr build command in a DevOps pipeline. In IBM Cloud Continuous Delivery, you can use either Classic pipelines or Tekton pipelines to build container images, but you will need to update existing pipelines to replace the cr build command.

The Container Registry job type in a Classic pipeline uses the 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 Buildkit instead of the cr build command, is under development. This alternative will be available before the cr build command is removed from IBM Cloud Container Registry. Detailed instructions for migrating your pipeline will be available then. Visit this page for more information including migration steps when they are available.

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 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.

By September 6, 2021, users of IBM Cloud Container Registry will need to add the –accept-deprecation flag to the cr build command. The new flag is available in the cr plugin version v0.1.543 and will be required for continued operation from September 6, 2021, onward. IBM Cloud Container Registry container build service will have an End of Service date of October 5, 2021.

Learn more

Visit the IBM Cloud Continuous Delivery documentation page on building container images for more information on migrating your existing pipelines, or get started with the IBM Cloud Continuous Delivery service today.

More from Announcements

Success and recognition of IBM offerings in G2 Summer Reports  

2 min read - IBM offerings were featured in over 1,365 unique G2 reports, earning over 230 Leader badges across various categories.   This recognition is important to showcase our leading products and also to provide the unbiased validation our buyers seek. According to the 2024 G2 Software Buyer Behavior Report, “When researching software, buyers are most likely to trust information from people with similar roles and challenges, and they value transparency above other factors.”  With over 90 million visitors each year and hosting more than 2.6…

Manage the routing of your observability log and event data 

4 min read - Comprehensive environments include many sources of observable data to be aggregated and then analyzed for infrastructure and app performance management. Connecting and aggregating the data sources to observability tools need to be flexible. Some use cases might require all data to be aggregated into one common location while others have narrowed scope. Optimizing where observability data is processed enables businesses to maximize insights while managing to cost, compliance and data residency objectives.  As announced on 29 March 2024, IBM Cloud® released its next-gen observability…

Unify and share data across Netezza and watsonx.data for new generative AI applications

3 min read - In today's data and AI-driven world, organizations are generating vast amounts of data from various sources. The ability to extract value from AI initiatives relies heavily on the availability and quality of an enterprise's underlying data. In order to unlock the full potential of data for AI, organizations must be able to effectively navigate their complex IT landscapes across the hybrid cloud.   At this year’s IBM Think conference in Boston, we announced the new capabilities of IBM watsonx.data, an open…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters