#Error pulling from private registry

1 messages ยท Page 1 of 1 (latest)

barren schooner
#

From what SDK are you having this error, after logging ?

wary willow
#

I'm using the python SDK

barren schooner
#

Ooh sorry, I misread

wary willow
#

no problem ๐Ÿ™‚

#

btw I'm really struggling with private repos, is this supposed to be easier? I had to also setup two _EXPERIMENTAL env variables

#

regarding the problem, do you know if there is some argument that I can provide to dagger/engine when docker running it?

barren schooner
#

Can you please list all the steps you followed please ?

barren schooner
#

cc @exotic kettle

wary willow
#
  1. echo "_EXPERIMENTAL_DAGGER_RUNNER_HOST=${{ env.DAGGER_HOST }}" >> $GITHUB_ENV
  2. echo "_EXPERIMENTAL_DAGGER_CLI_BIN=$(pwd)/${{ env.DAGGER_CLI_BIN }}" >> $GITHUB_ENV
#

but it is behind a firewall, so I cannot access it

barren schooner
#

You're right, I recall now ๐Ÿ˜‡

wary willow
#

but then, why dagger-cue it's working in the first place? ๐Ÿค”

barren schooner
exotic kettle
#

@wary willow are the certificates of your registry self signed?

wary willow
#

but I know for sure that private images sent to this instance can be built

#

from what I'm seeing, this is the only extra added to buildkit run: --addr unix:///run/buildkit/buildkitd.sock --addr tcp://0.0.0.0:1347 --debug

#

no extra env vars

exotic kettle
#

Can you jump in a video call to share?

wary willow
#

if you give me 15min yes, thank you

#

i'm in another meeting

wary willow
#

Sorry, I was ahead of myself. I talked with a colleague, and we have to first discuss it internally before calling you guys
However, thank you for your helpfulness ๐Ÿ™‚

#

I will also try to look into buildkit certs

barren schooner
#

In theory, I presume that the way to make it work is to copy, inside the dagger-engine container, the corresponding certificates: -v $PWD/my-cert.pem:/etc/ssl/certs/my-cert.pem

#

The fact that it works on dagger-cue and not on the SDK is what seems weird

oak terrace
#

I think that should cover this use case /cc @fallen cedar

fallen cedar