buildx icon indicating copy to clipboard operation
buildx copied to clipboard

buildkitd registry-auth-tlscontext flag not support

Open wangcanfengxs opened this issue 10 months ago • 0 comments

Description

Add registry-auth-tlscontext flag to support push image to insecurity registry.

When I use harbor as my private registry. I can not push image to harbor, because

ERROR: failed to solve: failed to push harbor.xxxx.com/tenant1-project1-docker/example-backend:202404031157: failed to authorize: failed to fetch oauth token: Post "https://harbor.xxxx.com/service/token": tls: failed to verify certificate: x509: certificate signed by unknown authority

When buildkit fetch token for auth, it use https.

wangcanfengxs avatar Apr 03 '24 09:04 wangcanfengxs