如题,harbor在主节点通过harbor.devops.kubesphere.local:30280能连的上,CoreDNS也配置好了harbor和gitlab,但是在流水线中执行的时候,连不上harbor,日志如下,麻烦各大神帮忙看下,谢谢
- docker build -f Dockerfile-on-prem -t harbor.devops.kubesphere.local:30280/library/appservice:SNAPSHOT-master-25 .
Sending build context to Docker daemon 5.707MB
Step ¼ : FROM harbor.devops.kubesphere.local:30280/library/java:openjdk-8-jre-alpine
Get https://harbor.devops.kubesphere.local:30280/v2/: dial tcp: lookup harbor.devops.kubesphere.local: no such host
script returned exit code 1