Open robertmircea opened 6 years ago
Hello, thanks for the bug report! You can create a forge.yaml
file by hand, following the documentation here:
https://forge.sh/docs/reference/forge-config
In particular, if you can get docker login
to your private registry, Forge should be able to work (and you don't need to put credentials in the file). Here's an example GCR forge.yaml
file:
https://github.com/datawire/bb-kubecon/blob/master/forge.yaml
I've created it after submitting the above report. The same error appears now on forge build
docker login works properly. I can push images into the private registry using docker push.
λ forge build
║ 19 tasks run, 1 errors
║ whoami: HTTPSConnectionPool(host='dev.artifactory.xyz.intra', port=443): Max retries exceeded with url: /v2/online/whoami/manifests/f5bbed8fa0c4e9f7805003477266dfc720b71697.git (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x108283150>: Failed to establish a new connection: [Errno 8] No address found',))
Can you paste your forge.yaml
?
Here you are:
cat forge.yaml
registry:
type: docker
url: dev.artifactory.xyz.intra
verify: false
namespace: online
Hm, it could be an incompatibility with the artifactory (we've found that different registries have subtly different semantics). We'll take a look but it might be a few days before we can get to this.
ignore the setup , and create forge.yaml by hand. No problem. setup is intended to genreate a forge.yaml.
I am trying to run forge setup on a mac with a private registry offered by an internal JFrog Artifactory server. I cannot finish the setup process due to the following error:
Any hint on how to solve this issue?