Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i custom the pull link ? #71

Closed
wuyue92tree opened this issue Feb 11, 2019 · 8 comments

Comments

@wuyue92tree
Copy link

commented Feb 11, 2019

from: docker pull 192.168.1.29:4080/drone-test:latest
to: docker pull test.io/drone-test:latest

Is there an option for this?

thanks~

@Joxit

This comment has been minimized.

Copy link
Owner

commented Feb 11, 2019

Hi,

What is the tag of the image you are using ?

@wuyue92tree

This comment has been minimized.

Copy link
Author

commented Feb 11, 2019

Hi,

What is the tag of the image you are using ?

like this 192.168.1.29:5000/drone-test:latest

@Joxit

This comment has been minimized.

Copy link
Owner

commented Feb 11, 2019

Sorry, I meant the image tag of docker-registry-ui.
The static version (like docker-registry-ui:static) or the default one (like docker-registry-ui:latest) ?

@wuyue92tree

This comment has been minimized.

Copy link
Author

commented Feb 12, 2019

Sorry, I meant the image tag of docker-registry-ui.
The static version (like docker-registry-ui:static) or the default one (like docker-registry-ui:latest) ?
docker-registry-ui:static

@Joxit

This comment has been minimized.

Copy link
Owner

commented Feb 12, 2019

Okay, the environment variable URL is used to build the pull command, but this need some changes with the registry (CORS configuration).
And this will also by-pass the REGISTRY_URL environment variable and will not fit all use cases...
So I will add a new environment variable in order to customise the pull command and fit your needs 😄.

@Joxit Joxit closed this in 8ac9118 Feb 12, 2019

@Joxit Joxit added the enhancement label Feb 12, 2019

@Joxit

This comment has been minimized.

Copy link
Owner

commented Feb 25, 2019

I did not mention the option, it's PULL_URL

@wuyue92tree

This comment has been minimized.

Copy link
Author

commented Feb 26, 2019

I did not mention the option, it's PULL_URL

It's cool. I'll try it, thanks a lot.

@Joxit

This comment has been minimized.

Copy link
Owner

commented Feb 26, 2019

You are welcome 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.