I have a build in GitLab CI (on GitLab.com) that builds and pushes to the Container Registry. Because the shared runners don’t have the Docker privileged flag enabled, I am using my own runner.
When I push, the build fails because the Container Registry is throwing 500 errors near the end of the push process (I’ve removed quite a few lines that are irrelevant):
The push refers to a repository [registry.gitlab.com/.../...]
a5c1316ad4fa: Preparing
...
4dcab49015d4: Preparing
dac37b923e75: Waiting
....
4dcab49015d4: Waiting
a5c1316ad4fa: Pushed
3549674c8f0d: Pushed
3e11a2e30582: Pushed
9453026cdb37: Pushed
dac37b923e75: Pushed
c4a9cdfa96a8: Pushed
800e1b0d6457: Pushed
4f951085bd5f: Pushed
cd66656a62d8: Pushed
10d8a083a416: Pushed
f5a69581ffd6: Pushed
0bb8aa55dcb5: Pushed
5f70bf18a086: Retrying in 5 seconds
7210754ca5b4: Pushed
5f70bf18a086: Retrying in 4 seconds
c5a89bd5b1ee: Pushed
b9cdda654d55: Pushed
5f70bf18a086: Retrying in 3 seconds
41ab6e4fed03: Pushed
5f70bf18a086: Retrying in 2 seconds
b8bad4c4113b: Pushed
5f70bf18a086: Retrying in 1 second
2282487db68b: Pushed
5f70bf18a086: Retrying in 10 seconds
6eeb8fb9be3d: Pushed
fc113415db0a: Pushed
5f70bf18a086: Retrying in 9 seconds
5f70bf18a086: Retrying in 8 seconds
5f70bf18a086: Retrying in 7 seconds
6a601a234ab5: Pushed
5f70bf18a086: Retrying in 6 seconds
dadf38c36644: Pushed
5f70bf18a086: Retrying in 5 seconds
5f70bf18a086: Retrying in 4 seconds
5f70bf18a086: Retrying in 3 seconds
533e765067f2: Pushed
5f70bf18a086: Retrying in 2 seconds
....
5f70bf18a086: Retrying in 3 seconds
5f70bf18a086: Retrying in 2 seconds
5f70bf18a086: Retrying in 1 second
received unexpected HTTP status: 500 Internal Server Error
As you can see, the push appears to start by working, and then switches to failing intermittently and not working at all. Any clue whether this is related to my build, or the Container Registry itself?