Build a docker image FROM a private github image

Is it possible to build a docker image using a private image as the base?

I built my image using a github action, and now i want to use this as the basis of another docker image that would be built from Render.

Aug 18 01:32:41 PM    54 | >>> FROM ghcr.io/xxx/docker-images:sha256-xxx073d3f459d95e2c3616f06a0a44574c3927ff9ce.sig
Aug 18 01:32:41 PM  --------------------
Aug 18 01:32:41 PM  error: failed to solve: ghcr.io/xxx/docker-images:sha256-xxx073d3f459d95e2c3616f06a0a44574c3927ff9ce.sig: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized
Aug 18 01:32:41 PM  error: exit status 1

Is there a way to authentify with Github?

Hi Jérôme,

We recently released Deploy a Docker Image functionality as an early access feature.

You can enable this from your Account or Team settings page.

Regards,

Matt

That is what I tried, but it seems like i can only deploy those private images as-is, not as a basis of a dockerfile that would be “finished” on render.

Did I understand correctly?

Hi Jérôme,

Oh sorry, I misunderstood.

We don’t support the ability to use private images in a Dockerfile. I’d encourage you to submit a feature request at https://feedback.render.com/features/p/pulling-private-docker-images-during-image-building.

We rely heavily on customer feedback as a part of our planning and product roadmap process, so capturing interest on the feature request page is very helpful.

Regards,

Matt

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.