Using actions - is suppose to be faster than

I’m trying to cut down the build/test time in a python based container.
I have created a base image from a docker file that does all the repeated apt-get and pip installs.
I have created a second image that imports the custom code and performs the build using nuitka/pyinstaller.
This all works using github actions and as the container repository.
I tried migrating these two workflows to using as the container repository and have successfully built everything.
Only issue is that - in an action context - is no faster (and marginally slower) than on a loading a 2.23 GB compressed image.
Is my expectation of a transfer speed increase by staying within the same ecosystem mislaid?
I’m willing to pop the $$ for near-local storage if it could trim load time to less than public storage.


I can’t recall where I read it, but someone said that the servers for GitHub Actions and GitHub Packages would be in the different data centers. That would explain why GHCR isn’t faster in workflow runs. It might not be a local data transfer at all, and Docker might happen to be closer to the servers that run the workflows or just be a tad faster or have more bandwidth alotted.

1 Like

Thank you for the response. Separate data centers is the only situation that makes sense of the telemetry I’ve received. I have not tried to measure the network latency between ghrc and actions but whatever the case - I lost a bit of time porting over and reverting back to dockerhub along with the 2 months of dead silence from this community - lost me as an adopter.
There is no upside to going with with github actions.

GHCR still has benefits over Dockerhub, mainly images not expiring and no hard pull limits. But images not being hosted near where actions run is still a bit odd. I believe there was a mention of more caching options. Could be years away, however.

I’m a long way off of tripping hard pull limits although I’ll keep ghrc in mind as a mirror in the event I get popular.
Did they say when they will start billing for ghrc storage? Seems like ancient images feature is a good revenue generator.