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

How a US bank modernized its mainframe applications with IBM Consulting and Microsoft Azure

9 min read - As organizations strive to stay ahead of the curve in today's fast-paced digital landscape, mainframe application modernization has emerged as a critical component of any digital transformation strategy. In this blog, we'll discuss the example of a US bank which embarked on a journey to modernize its mainframe applications. This strategic project has helped it to transform into a more modern, flexible and agile business. In looking at the ways in which it approached the problem, you’ll gain insights into…

The power of the mainframe and cloud-native applications 

4 min read - Mainframe modernization refers to the process of transforming legacy mainframe systems, applications and infrastructure to align with modern technology and business standards. This process unlocks the power of mainframe systems, enabling organizations to use their existing investments in mainframe technology and capitalize on the benefits of modernization. By modernizing mainframe systems, organizations can improve agility, increase efficiency, reduce costs, and enhance customer experience.  Mainframe modernization empowers organizations to harness the latest technologies and tools, such as cloud computing, artificial intelligence,…

Modernize your mainframe applications with Azure

4 min read - Mainframes continue to play a vital role in many businesses' core operations. According to new research from IBM's Institute for Business Value, a significant 7 out of 10 IT executives believe that mainframe-based applications are crucial to their business and technology strategies. However, the rapid pace of digital transformation is forcing companies to modernize across their IT landscape, and as the pace of innovation continuously accelerates, organizations must react and adapt to these changes or risk being left behind. Mainframe…

IBM Newsletters

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