Provide docker login to pull down an image from private repo

I have a few projects that have a Docker file that references a private repo i.e

FROM private-repo-url …

while using the docker-image resource type, how do I provide creds used to pull down the base image (not publish it).

Resource type definitions behave like docker-image-resource resources so I would expect you to be able to configure the private repo by following the source configuration docs in that repo.

thanks @crsimmons Those creds are used to publish (push) only.

I’m not sure what you mean. The creds you provide to the resource_type definition will be used for pulling the image.