Questions tagged [ghcr]
33 questions
10
votes
1 answer
How to see (not download) docker image from ghcr.io
I am publishing docker images to GitHub container registry (ghcr.io).
The process of doing that:
Build component.
Build docker image which include component.
Upload docker image to ghcr.io.
Deploy docker image.
Run integration tests on docker…

jactor-rises
- 2,395
- 2
- 22
- 44
9
votes
1 answer
Adding ghcr (Github Docker Regustry) to Synology docker results in "Registry returned bad result"
When trying to add the Github Registry to Synology Docker, I always get a prompt saying "Registry returned bad result".
The URL I try to connect to is: https://ghcr.io

MrMaxM
- 91
- 1
- 2
9
votes
3 answers
Error response from daemon: Get "https://ghcr.io/v2/": denied: denied
While using with the GitHub action I am getting Error response from daemon: Get "https://ghcr.io/v2/": denied: denied
I used the login command echo $CR_PAT | docker login ghcr.io -u $ghcr_user -password-stdin

Neeraj Singh Negi
- 213
- 1
- 2
- 7
6
votes
1 answer
Is it possible to authenticate https://ghcr.io for ECS task
I have ECS service, which needs to pull image from https://ghcr.io via PAT token.
Is this possible at all? Is there any way to authenticate to github container registry?
Thank you for the assistance!
BR,
Martin

user3450687
- 329
- 4
- 17
6
votes
2 answers
Use ghcr in Dockerfile in GHA
I would like to use ghcr as cache to store docker image with part which almost do not change in my project (Ubuntu, miniconda and bunch of Python packages) and then use this image in Dockerfile which adds volumes and code of the project to it.…

Piotr
- 63
- 3
3
votes
1 answer
ERROR: denied: installation not allowed to Create organization package
When I tried to push the github action build package into github container registry, shows error like this:
#21 pushing layer 71bf85df11bc 0.5s done
#21 pushing layer 2e8dc9c47172 0.5s done
#21 pushing layer cdd7c7392317 0.5s done
#21 ERROR: denied:…

Dolphin
- 29,069
- 61
- 260
- 539
3
votes
0 answers
How to log into Github Container Registy using Github Actions
I am trying to write a GitHub actions script to automatically build a docker image, and then push it into the GitHub Container Registry when new code is checked in to the main branch. This is the code that I'm using to try to log into the container…

schaffsp
- 31
- 1
3
votes
1 answer
Cannot pull a private package/image from GitHub Container Registry into Okteto Kubernetes
I hope it's ok to ask for your advice.
The problem in a nutshell: my pipeline cannot pull private images from GHCR.IO into Okteto Kubernetes, but public images from the same private repo work.
I'm on Windows 10 and use WSL2-Ubuntu 20.04 LTS with…

Michael
- 33
- 5
3
votes
0 answers
Not all Docker Images are showing on GitHub container registry
I can not see docker images on the GitHub container repository (https://github.com/orgs/{OWNER}/packages) for non-existing repositories.
I am talking about GitHub container registry
How to reproduce
If you create repository repository-A on GitHub…

sbakic
- 33
- 5
3
votes
0 answers
Working with Jenkins and GHCR; can a github app authenticate to push a docker image?
We are trying to setup a workflow using Jenkins to build docker images using code that is onto github and push it back onto it.
We have setup a github app for jenkins to use to access the code repository/branches/PR, but it seems although i have…

Quardah
- 183
- 1
- 4
- 14
2
votes
2 answers
Is there a way to get tags of a docker image on github container registry (ghcr.io) via curl or gh command?
Is there a way to get tags of a docker image on github container registry via curl or gh command?
curl \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GH_TOKEN}"\
-H "X-GitHub-Api-Version: 2022-11-28" \
…

Omer Sen
- 49
- 4
2
votes
1 answer
GitHub Dependabot Doesn't Have Permissions To Publish to GHCR How Can I Give It Access
I have a repository that builds, tags, and publishes container images to GitHub's ghcr.io, however it fails to publish on dependabot actions and breaks all of my pipelines that are doing the build, tag, and release of each container image. Here is…

R. Barrett
- 685
- 11
- 34
2
votes
1 answer
pull docker image from ghcr.io in github actions
I'm using the below workflow code (found in the github documentation) to build and publish a docker image to the Github Container Registry.
name: Create and publish a Docker image
on:
push:
branches: ['release']
pull_request:
branches:…

Oliver Angelil
- 1,099
- 15
- 31
2
votes
1 answer
github `registry_package` event doesn’t trigger
I managed to create two actions on 1 private repository:
The first one builds the image and push the docker image to GitHub
Container Registry
The second one needs to be triggered when newer
image is published to the GitHub container registry and…

cloudlearner
- 77
- 7
2
votes
1 answer
Why GitHub action fails to push the docker image?
I have a lot of GitHub actions that push built docker images to the GitHub Container Repository.
Basically, what I do is to have two steps in my job:
- name: Log in to GitHub Container Repository
run: |
echo "${{…

Hossein Fallah
- 1,859
- 2
- 18
- 44