pipelines-api-examples icon indicating copy to clipboard operation
pipelines-api-examples copied to clipboard

Update examples to handle domain-scoped Cloud projects

Open mbookman opened this issue 9 years ago • 0 comments

As noted here:

https://cloud.google.com/container-registry/docs/#pushing_to_the_registry

If your project ID has the form example.com:foo-bar, with Docker 1.8+ use:

gcr.io/example.com/foo-bar/...

To support domain-scoped projects, we should sweep the examples and update lines like:

'imageName': 'gcr.io/%s/fastqc' % args.project,

to:

'imageName': 'gcr.io/%s/fastqc' % args.project.replace(':', '/'),

mbookman avatar Apr 12 '16 22:04 mbookman