-
Notifications
You must be signed in to change notification settings - Fork 106
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
Build docker images using the build arguments instead of sed'ing Dockerfile #11646
Comments
Sigh, reopening this! The implementation works as expected, but it turns out that when the GH workflow is going to publish the new image to the CERN registry, it loads the Dockerfile once again, which results in a There is no specific docker build/run in the GH workflow: so I have to research what needs to be done in this case. |
I will have to revisit this docker build GH workflow because:
For that, I better setup a private repository to test it, otherwise it will be a bunch of useless commits until finally converging. Apologies for that mess! |
Hi @amaltaro
#11642 - pay attention to the NOTE in the PR description, when upgrading to docker action v2 about the changing of the
#11641 - I tried to put a short description of my findings on how those two builds happen one after another. I think the reason why we have ended up with that is because the
|
Impact of the new feature
WMCore CD pipeline
Is your feature request related to a problem? Please describe.
Just because I already started this work:
#11638
I'd rather not trash bin it.
Describe the solution you'd like
Instead of replacing the TAG - via sed command - directly in the WMCore Dockerfiles available under:
https://github.com/dmwm/CMSKubernetes/tree/master/docker/pypi
use the docker
--build-arg
to pass the correct tag in the command line.Describe alternatives you've considered
Keep sed around
Additional context
None
The text was updated successfully, but these errors were encountered: