Hi I have a docker image published in one of my organization’s private repositories and I would like to use that image as the base in another project. I’ve tried a few things but I ultimately get an unauthorized
or invalid reference format
error. I’m trying to understand and get an example of how to accomplish this.
I’ve done repo clones using a PAT in the past like this:
git clone https://${GITHUB_PAT}@github.com/theAccount/theproject.git
I’m hoping there is some syntax I’m missing that allows me to do something like this in a dockerfile:
FROM https://${GITHUB_PAT}@ghcr.io/theAccount/theProject:latest
...
RUN otherDockerFileStuff
...
Is this possible? Is this documented and I’m missing it?
Thanks for any help