pyg4ometry icon indicating copy to clipboard operation
pyg4ometry copied to clipboard

Containers not being automatically built on Docker Hub anymore

Open gipert opened this issue 1 year ago • 6 comments

I just realized that containers are not being built automatically anymore: https://hub.docker.com/orgs/g4edge. As a result the Docker images there are quite old. Did our Docker subscription get downgraded at some point? I thought we managed to get premium for free...

We should check whether we can get a Docker Hub premium subscription, it's much more convenient than building and pushing from the GitHub CI.

gipert avatar Nov 05 '24 10:11 gipert

I recently got a team account for bdsim, let me check what is going on

stewartboogert avatar Nov 07 '24 16:11 stewartboogert

@gipert ok it appears the terms of service changed and the team cannot build in dockerhub any more. I am happy to do a workflow that builds and pushes in GitHub Actions. I routinely build 25 or so geant4 images no problem on GitHub. What do you think?

stewartboogert avatar Dec 09 '24 16:12 stewartboogert

Before doing what you suggest, would it be possible to apply for an OSS premium account? I think it was quite easy to get it for LEGEND...

gipert avatar Dec 09 '24 16:12 gipert

Ok just tried and...

Screenshot 2024-12-09 at 16 36 27

stewartboogert avatar Dec 09 '24 16:12 stewartboogert

We can push a container manually, I guess?

gipert avatar Dec 09 '24 18:12 gipert

Dockerfiles repo So I set up a "On release" action to build the ubuntu and manylinux2014 docker images and push them to docker hub.

pyg4ometry I have also made a PR which builds and pushes the pyg4ometry docker image.

@gipert ~what I don't understand is how the manylinux2014_x86_64 docker image is used. So I don't see it used to create our wheels.~ Ok it is pyproject.toml sorry took me a while to find it.

stewartboogert avatar Feb 25 '25 07:02 stewartboogert