-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
automatically updating tagged images to dockerhub #27
Comments
I'm currently testing the generation of four different configs, then running the start script. Doesn't that mean I'm already automatically building the smaller images? Or are you referring to something else with respect to building the latest tag? (as in, something that's outside the github workflow) Do you want it to trigger this workflow only when you push a tag (which can be used to create an associated release)? Or just run weekly? daily? On push to master? All/none/some of the above? lol Should we automatically append these tags to the pushed docker image? Should they contain the Do we upload it to your docker? Create a new account? I will add a step at the end of the workflow that will publish the versions we want. Can you:
Here's something I could envision: Local -> Cloud Remote -> Cloud |
That are many things to keep in mind.
I'm refering to automatically build the dockerhub tags automatically, like shown here. Currently, only the build of the
Good point. I would definitely keep the repository here in
Depends on the dockerhub decision, what is your id?
Sounds good 👍 |
Oh interesting, I didn't know docker hub had that feature but I'm not surprised. I would be configuring it to push all tags directly from github, so you don't have to bounce between websites for changing configurations. Thanks for the clarification, I think we'll be able to disable that by the time this is done. I kind of like the (silly) idea of seeing if regarding tags... I would treat it like software versioning. no breaking changes in 0.0.X, breaking changes in 0.X.0 and monumental shifts in X.0.0, such as changing the base image (upgrading ubuntu 18 to 20 for example). I don't think including the OS version as part of the tag is useful, as long tags are cumbersome. They should be short version numbers of one/two word aliases. Basically, I'd like to follow how the jupyter/docker-stacks folks do it as closely as possible with respect to versioning, I could see going so far as to even match their release names for everything except the org name, as an addition to the versioning system we use. However, they're on 20 and we're on 18, so that's already kind of out of the picture unless we bump up our base images as well. Definitely some decisions to be made, and I'm happy to revise any initial proposal I put together... but yah, looking forward to this undertaking. What I'd like to be able to do is allow anyone with a dockerfile that starts with |
I do like the idea of having a separate account for this so that someone visiting the hub would see only a selection of relevant images to choose from, and no personal projects. and yeah, sorry, it is a lot to keep in mind, but good news is that once it's sorted, it'll all just work magically and silently update things in the background in a very organized way. I really enjoy seeing a CI/CD pipeline come together. |
I haven't thought of I agree to the versioning and the switch to |
let's do I snagged the name on docker hub |
Great, then How to start from here? Shall we copy and adapt the content of cschranz/gpu-jupyter and also adapt the |
sorry for the delay, this will be a bit of a work in progress. The machine I test this stuff on was out of commission. And my notifications got filled up with thesis-related github workflows that I only now cleaned up. I cloned the repo again on the fresh ubuntu install, ran clone+start-local and noticed it took forever to complete. to that end, I'd argue we use a slimmer image as a default, I think packaging R and Julia is a bit much. From what I can tell, Python is the primary GPU-enabled use case (tflow/torch). Please correct me if I'm wrong in that assessment.
I think I've figured out the key steps that I'll need, but I still have some testing to do for referring to different base images. once I get a PR set up from my fork, all you'll need to do is add a secret key to this repo. I can do the testing with my own account. |
First, thank you very much!
I referred to the dockerhub account. Yes, that should work. And you are right about the installation of
Ahh yes, I haven't removed it yet in
Super! Let me know when you need the key. It would be great if you could grant me access to the I'm going now on vaccation and return on 25 September, so I won't be online in the meanwhile. Hear you later :) |
Not a solution with commit c833f1f, but I've added at least a script that builds for a given version three images types (full, python-only and slim), pushes them to Dockerhub and zipps them. Maybe this script should be moved to a branch later on. I'm still interested in how a smooth solution of this issue could look like. |
nice! I'm not sure I follow why zipping the builds is necessary. What's the thinking there? |
You are right, this is not necessary! |
Removed save + zip and also tagged "python-only"-verion in commit 488ebea. |
@ChristophSchranz quick Q: are you manually updating the dockerhub?
If so, we can discuss adding directives to
https://github.com/iot-salzburg/gpu-jupyter/blob/master/.github/workflows/main.yml
which perform that function automatically. If this is something you're interested in, open a new issue and I can help close it out. you'll just need to add your dockerhub token to the secrets of this repo.
Originally posted by @mathematicalmichael in #19 (comment)
The text was updated successfully, but these errors were encountered: