Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Migrate image release destination registry to Azure Container Registry #699

Merged
merged 5 commits into from
May 8, 2019

Conversation

zhongyi-zhang
Copy link
Contributor

As the write access to microsoft org in DockerHub was revoked, we are migrating to a public ACR instance.
This PR should hold on until ACR team makes our new ACR public.

norshtein
norshtein previously approved these changes May 6, 2019
Copy link
Member

@norshtein norshtein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -154,6 +154,7 @@ jobs:
publish-rc-images:
<<: *base-docker-job
environment:
DOCKER_REGISTRY: osbapublicacr.azurecr.io/
DOCKER_REPO: microsoft/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this set, the final URL will be osbapublicacr.azurecr.io/microsoft/azure-service-broker:<tag>, which looks awkward.

I think you probably want to unset this env var so that the final URL for the image will be osbapublicacr.azurecr.io/azure-service-broker:<tag>

fwiw... this env var should remain settable, just unset. The reason for this is it allows for overriding the final image URL if people want to build customized versions from their own forks and publish to somewhere else.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm.. I still want to keep "microsoft". With the change as you suggested "DOCKER_REPO" -> "DOCKER_REGISTRY_NAMESPACE", it looks good to me. How do you feel?

Makefile Outdated Show resolved Hide resolved
@@ -101,7 +101,7 @@ Broker chart and their default values.
| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `logLevel` | Log level (options: PANIC, FATAL, ERROR, WARN, INFO, DEBUG). | `"INFO"` |
| `image.repository` | Docker image location, _without_ the tag. | `"microsoft/azure-service-broker"` |
| `image.repository` | Docker image location, _without_ the tag. | `"osbapublicacr.azurecr.io/microsoft/azure-service-broker"` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If (your choice) you do anything about this comment, this address also needs to change.

@krancour
Copy link
Contributor

krancour commented May 6, 2019

Overall, this looks really sensible. I made a few small comments, but overall 👍

@krancour
Copy link
Contributor

krancour commented May 6, 2019

This looks great!

krancour
krancour previously approved these changes May 6, 2019
@zhongyi-zhang zhongyi-zhang merged commit 52d35ce into Azure:master May 8, 2019
@zhongyi-zhang zhongyi-zhang added this to the v1.6.0 milestone May 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants