-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Only pull if not exist #800
base: main
Are you sure you want to change the base?
Conversation
Could we check the actual output of |
Happy to update this if it helps make it get in to the main branch and a future release. Do you know:
If there is nothing different to do at this point, it may be better doing this when there is; I don't think anything here would prevent a future PR with functionality that does different things if needed at a later date. |
Conflicts: src/Runner.Worker/ContainerOperationProvider.cs
Would it be more versatile to instead add an option to something like
and of course, if the I think it's a valid use case to have basically the equivalent of GitLab's |
Happy for that idea instead; anything to make it work is good! |
Master also now merged in here |
has this been merged ready? |
Nope; I don't think anyone is looking at these PRs! |
First check if a docker image exists locally before trying to pull it. This resolves #791. Note that most of the change shown below is whitespace (from indent), so adding the "w=1" option to the URL shows the actual change, which is to do a "docker inspect" before the "docker pull".