-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
docker release for 5.26.0 #6134
Comments
@cyril23 Docker has changed their terms of service - honestly, I haven't read the details, but it seems that our automated builds aren't working. Building docker images locally should be trivial though - just |
I'm thinking that something is missing in the migration from travis to github actions ?? |
IIUC, there's a Docker Hub build hook that's no longer triggering. Docker Hub documentation says this now requires a subscription. We can apply to re-enable the build pipeline by joining the open source program. |
I assume that the container image build could be done as a GH action then pushed to either docker hub or ghcr.io |
probably worth migrating to github packages instead of docker (until gh packages pulls the same move;)). we did the same for our images, from what I heard the "open source program" is pretty useless, @jcoupey tried it once IIRC |
if you don't have a crack at it I might @hoerup . for reference, I use this to build and push valhalla: https://github.com/gis-ops/docker-valhalla/blob/master/.github/workflows/publish.yml. I omitted dockerhub for now, but could/should be done as well, if only for convenience reason (docker pull ghcr.io/... is somewhat more work on the command line;)) |
That was the Travis "open-source program", not Docker, but yeah it's been a rather frustrating experience. This kind of program seems to be just in place for marketing purposes ("look, we still support open-source") but if you dive into the details there are usually enough restrictions so that most projects don't fit in. I would not waste too much time on this kind of "program" if there's a viable alternative. |
If I try it in the root of the https://github.com/Project-OSRM/osrm-backend.git repo, I get the error
So I did a cd docker first and then tried again, as described here:
But got an error
Full output: docker_build_problem.txt What am I doing wrong here? |
You need something like |
So I tried:
It ran longer, but resulted in various errors, see docker_build_errors.txt |
Looks like a OOM kill of a gcc process. Check memory consumption |
Thanks, yes, that was the case. Now the build was completed successfully. log: docker_build_ok.txt So how do I use my locally built docker image instead of automatically downloading and using the dockerhub one? instead of
|
One of the last outputs from the
That sha256 value is the id of the image. You can do:
to run it, instead of using Alternatively, you can supply a "tag" to the
then later:
|
That sounds like the solution I need. I put it all together:
This worked perfectly for me. Here is an example request being served:
Thanks a lot for the information, to all of you! By the way, indeed the Github Actions are unlimited and free for public (open source) projects: https://de.github.com/features/actions## and https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#about-billing-for-github-actions and https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#about-billing-for-github-actions
|
Next tag will be automatically build by github actions. See #6138 |
with the documentation to manually build it here #6134 (comment) and the next tag being build automatically by github actions, this issue can be closed now probably |
Hey guys,
thanks for the release of 5.26.0 here. Great to see the OSRM project is still going strong!
Would you be so kind and make a docker release version of 5.26.0, too? Currently it's stuck at 5.25.0
(If anyone shows me how to do it, I could do the job next time, too.)
If I am reading https://github.com/Project-OSRM/osrm-backend-docker correctly, then the whole process is automated and I just need to be a little bit more patient:
But does this work for the releases (in docker: tags), too? https://hub.docker.com/r/osrm/osrm-backend/tags
The text was updated successfully, but these errors were encountered: