-
Notifications
You must be signed in to change notification settings - Fork 42
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
Pull container image when out of date #272
base: main
Are you sure you want to change the base?
Conversation
I just tested this locally, since I build local ARM versions I'd have to remember to add |
No, that's going to add too much complexity IMO. I'll have to do:
|
fd5ce42
to
603cbbe
Compare
I've updated this PR to compare digests first, instead of just blindly pulling the latest container. |
Smoke test failures appear to be unrelated to my changes. |
92da610
to
151fa1d
Compare
This change adds an additional step to the
pullImage
function to query the relevant container registry and find the current digest for the tag we specify. We then compare it with the digest of the image we have locally. If they don't match, we attempt to pull the image.