Steps to replicate using docker for windows after a successful login to registry.gitlab.com:
docker pull hello-world
docker tag hello-world registry.gitlab.com/devopstwentysix/hello-world
docker push registry.gitlab.com/devopstwentysix/hello-world
console output
λ docker push registry.gitlab.com/devopstwentysix/hello-world
The push refers to repository [registry.gitlab.com/devopstwentysix/hello-world]
7f29dbb26fbb: Layer already exists
9cafcdf75c86: Layer already exists
f5c673c58dcc: Skipped foreign layer
6c357baed9f5: Skipped foreign layer
received unexpected HTTP status: 500 Internal Server Error
docker logs
[11:17:38.632][ApiProxy ][Info ] time="2019-01-02T11:17:38Z" msg="proxy >> POST /v1.39/images/registry.gitlab.com/devopstwentysix/hello-world/push?tag=\n"
[11:17:38.634][WindowsDaemon ][Info ] debug: Calling POST /v1.39/images/registry.gitlab.com/devopstwentysix/hello-world/push?tag=
[11:17:38.636][WindowsDaemon ][Info ] debug: hostDir: C:\ProgramData\docker\certs.d\registry.gitlab.com
[11:17:38.636][WindowsDaemon ][Info ] debug: Trying to push registry.gitlab.com/devopstwentysix/hello-world to https://registry.gitlab.com v2
[11:17:39.053][WindowsDaemon ][Info ] debug: Pushing repository: registry.gitlab.com/devopstwentysix/hello-world:latest
[11:17:39.054][WindowsDaemon ][Info ] debug: Checking for presence of layer sha256:9cafcdf75c8659d465609db5ba657176e32ffab25a6c06730419b886d86837b7 (sha256:9ce75b533f1b56d69b283d10a9eb54348f30c29a7fb2c955817b133a81430580) in registry.gitlab.com/devopstwentysix/hello-world
[11:17:39.054][WindowsDaemon ][Info ] debug: Checking for presence of layer sha256:7f29dbb26fbbc9e1a034e7ef3b7da80c1622742332c8c1c4578d58562e74f045 (sha256:0110a3193dacb2a96568c8c9408da550b57d511fcda8cb2573e8c255643d38cc) in registry.gitlab.com/devopstwentysix/hello-world
[11:17:41.306][ApiProxy ][Info ] time="2019-01-02T11:17:41Z" msg="proxy << POST /v1.39/images/registry.gitlab.com/devopstwentysix/hello-world/push?tag= (2.6747842s)\n"
[11:17:41.306][WindowsDaemon ][Warning] failed to upload schema2 manifest: received unexpected HTTP status: 500 Internal Server Error
[11:17:41.307][WindowsDaemon ][Info ] Attempting next endpoint for push after error: received unexpected HTTP status: 500 Internal Server Error
What else?
This seems to only be for windows containers and as far as I can see has only been a problem in the last month.
Thanks in advanced.
Nick