Tekton build tasks fails with timeout for OCP 4
Issue
When running OpenShift Pipelines/Tekton, the task build-imagefails with:
Trying to pull mcr.microsoft.com/dotnet/aspnet:6.0...
STEP 2: FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
error creating build container: Error initializing source
docker://mcr.microsoft.com/dotnet/aspnet:6.0 error pinging docker registry mcr.microsoft.com:
Get "http://mcr.microsoft.com/v2/": dial tcp X.X.X.X:80 i/o timeout
Trying to pull mcr.microsoft.com/dotnet/sdk:6.0...
level=error msg="exit status 125"
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.