We are implementing usage of dependency proxy in our pipeline but we receive the following error for some images.
If we attempt to pull the image alpine:latest Then it works without any issues.
If we attempt to pull the image mcr.microsoft.com/dotnet/sdk:latest Then we receive the following error:
ERROR: Job failed: failed to pull image “gitlab.com:443/company/dependency_proxy/containers/mcr.microsoft.com/dotnet/sdk:latest” with specified policies [always]: Error response from daemon: received unexpected HTTP status: 503 Service Temporarily Unavailable (manager.go:203:0s)
The step is as simple as:
**Working example**
Dependency Proxy Test:
stage: .pre
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine:latestt
script:
- echo "Test"
**This yields an error**
Dependency Proxy Test:
stage: .pre
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/mcr.microsoft.com/dotnet/sdk:latest
script:
- echo "Test"