-
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
Option to not do docker pull? #791
Comments
Perhaps the design discussions belong here instead. I just commented over on the PR with a question about whether it would work to instead support specifying a |
Yes, I agree that this would also work |
without doing any of the coding, my hunch tells me that doing it that way would bypass the "which exceptions to handle" issue entirely. |
I think I was just avoiding the "how do you add a new config option" at this point; I agree that this should skip this part, since it will just do the pull if asked and if that fails, it would fail in the same way as previously. |
Yeah, that sounds a bit more complicated now that you mention it. Perhaps #694 can provide some insight on adding the new option though? |
Thanks for the pointer - I will have a look and see. |
I think I have done the right things in #1086 but happy for someone to review this to tell me otherwise! |
Up |
I'm not experiencing this when using ecr. It pulls the same image even if sha digest match and it was used in a different job in the same workflow. Is this a feature of ghcr.io that it'll recognize that it already downloaded the latest? |
No, it is a docker pull feature. It worked for me. Are you sure you are running on the same host? |
This occurs when running on the same worflow file but different jobs. I guess it doesn't share the previous pull from a previous job in the workflow. |
No, they do not. Unless you run the job in the same runner. |
It would be really helpful if these options were supported:
This allows baking docker images into AMIs, and use |
Realy helpful with these options. |
I have a job where I pull the images I need and then another that uses the images to run a container. they are running on the same runner and it is still trying to pull from the ECR |
+1 |
Thank you 🙇♀ for wanting to create a feature in this repository. Before you do, please ensure you are filing the issue in the right place. Issues should only be opened on if the issue relates to code in this repository.
If you have a feature request that is relevant to this repository, the runner, then please include the information below:
Describe the enhancement
If I have a local runner and a locally maintained docker image i.e. not stored on a repository, I would like to avoid the "docker pull" step, which then fails.
Code Snippet
Additional information
The image python3.6:latest is in my self-hosted runner's docker images. It doesn't exist in DockerHub or any other repository, and I don't want it to, because it should only ever be run on my self-hosted runner.
NOTE: if the feature request has been agreed upon then the assignee will create an ADR. See docs/adrs/README.md
The text was updated successfully, but these errors were encountered: