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 Cloud

The history of the central processing unit (CPU)

10 min read - The central processing unit (CPU) is the computer’s brain. It handles the assignment and processing of tasks, in addition to functions that make a computer run. There’s no way to overstate the importance of the CPU to computing. Virtually all computer systems contain, at the least, some type of basic CPU. Regardless of whether they’re used in personal computers (PCs), laptops, tablets, smartphones or even in supercomputers whose output is so strong it must be measured in floating-point operations per…

A clear path to value: Overcome challenges on your FinOps journey 

3 min read - In recent years, cloud adoption services have accelerated, with companies increasingly moving from traditional on-premises hosting to public cloud solutions. However, the rise of hybrid and multi-cloud patterns has led to challenges in optimizing value and controlling cloud expenditure, resulting in a shift from capital to operational expenses.   According to a Gartner report, cloud operational expenses are expected to surpass traditional IT spending, reflecting the ongoing transformation in expenditure patterns by 2025. FinOps is an evolving cloud financial management discipline…

IBM Power8 end of service: What are my options?

3 min read - IBM Power8® generation of IBM Power Systems was introduced ten years ago and it is now time to retire that generation. The end-of-service (EoS) support for the entire IBM Power8 server line is scheduled for this year, commencing in March 2024 and concluding in October 2024. EoS dates vary by model: 31 March 2024: maintenance expires for Power Systems S812LC, S822, S822L, 822LC, 824 and 824L. 31 May 2024: maintenance expires for Power Systems S812L, S814 and 822LC. 31 October…

IBM Newsletters

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