2

Are there updated locations for Google Cloud Builders? Google is encouraging us to move away from the Google Container Registry to the Artifact Registry but the Cloud Builder images are still addressed by eg gcr.io/cloud-builders/mvn:3.5.0-jdk-8 which is a Container Registry address. I'm in the process of revising all my builds to use Artifact Registry and I would rather not have to make another pas through them to change these gcr.io/cloud-builders... references.

Does anyone know?

RJC
  • 1,224
  • 2
  • 12
RogerParkinson
  • 499
  • 6
  • 18

3 Answers3

3

Container Registry will still continue to work and will not go away soon. You can still use both services in the same project, that was stated in this post that discusses the differences of Container Registry and Artifact Registry.

There's a guide in copying images from Container Registry to Artifact Registry that you can also check in your transition process.

While the official cloud builders aren't hosted yet in Artifact Registry, you have an option to clone the source code and deploy it yourself. Furthermore refer to this link for changes in building and deploying in Google Cloud. There's an available guide in transitioning repositories with gcr.io domain. Just a note, this feature is still on Alpha, and this feature might have limited support. You can further check the previous link for further details in this feature.

Lastly, feel free to submit a feature request on GitHub.

RJC
  • 1,224
  • 2
  • 12
1

While we are planning a future set of Cloud Builders in Artifact Registry, our plan includes keeping the existing set of Container Registry builders in place, and we are specifically excluding a forced migration in our planning.

This means that you can migrate your repository use to Artifact Registry while continuing to use the current set of builders in Container Registry in your build steps.

Reference: Cloud Builders in GitHub

Context: I am an Engineering Manager on the Google Cloud Build team.

David Bendory
  • 1,258
  • 8
  • 14
1

Cloud builders are currently hosted on Artifact Registry. They still use gcr.io urls for backwards compatability. Anybody can move to Artifact Registry and keep backwards-compatible gcr.io urls by following these steps: https://cloud.google.com/artifact-registry/docs/transition/setup-gcr-repo

James
  • 451
  • 2
  • 5