Questions tagged [ghcr]

33 questions
1
vote
0 answers

getting unsupported media type error by running docker pull from ghcr.io ( image made automaticly by github action )

i'm using github action to automaticly build docker image of my project it is published in my github packages when i use command below docker pull ghcr.io/... i get this error unsupported media type…
Hady_Khann
  • 11
  • 2
1
vote
0 answers

Pulling images from Github container registry is too slow in the last layer

Our team uses GitHub Container Registry to host our production docker images. There's a step in our team's CI/CD where one of our GitHub workflows creates and hosts the image on ghcr.io. Then the image needs to be pulled on our VPSs in order to be…
1
vote
0 answers

When accessing Github Marketplace Actions I am seeing getting error: should be either '[path]/Dockerfile' or 'docker://image[:tag]'

My requirement is to create a public repo and make it available as an Action on Github Marketplace (already done). I am trying to understand the reason for the below error. There are 3 repos that I am referring to: Private repo (with a public…
36f
  • 89
  • 1
  • 10
1
vote
1 answer

How to push docker image to ghcr.io organization

I am trying to push images I have built locally to the GitHub Container Registry aka Packages. I have authenticated GitHub using PAT and authorized access to the organization. Let's name this organization EXAMPLEORG. used the following…
bkalcho
  • 309
  • 2
  • 11
1
vote
0 answers

After deleting and re-creating a GitHub repository, the default token can no longer publish container images

I have a repository that includes a container image build-and-publish workflow; the critical workflow steps looks like: - name: Log in to the Container registry uses: docker/login-action@v2 with: registry: ${{ env.REGISTRY }} username:…
larsks
  • 277,717
  • 41
  • 399
  • 399
1
vote
2 answers

Preconfigure Container Registry in Codespaces

I'm trying to preconfigure a private container registry in a CodeSpace so workshop participants can use it. According to the docs it's all pretty straight forward, but it looks like I'm missing something, because it won't work, and the docs aren't…
jessehouwing
  • 106,458
  • 22
  • 256
  • 341
1
vote
1 answer

I'm stuck at pushing Docker images to GitHub Container Repository

I'm trying to push a Docker image to ghcr.io. But I'm stuck. I have created an action on GitHub, that logs into ghcr.io using this code: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin And it passes…
Hossein Fallah
  • 1,859
  • 2
  • 18
  • 44
1
vote
1 answer

Should I use a Personal Access Token for accessing ghcr from GitHub Actions?

I am exploring the use of GitHub Container Registry (ghcr) for storing docker images built in my Continuous Integration (CI) pipelines that are built in GitHub Actions. I am reading Migrating to GitHub Container Registry for Docker images which…
jamiet
  • 10,501
  • 14
  • 80
  • 159
0
votes
1 answer

How do I push service container in Github Actions to the registry?

I have a Github Action that needs to grab database dump, put it into dabase, run SQL queries on it, and push the new containerised version of the database to ghcr. How do I push the service container instead of the main one? What I have right…
0
votes
2 answers

Does docker pull and push to new registry work?

I have few Docker images in Docker Trusted Registry. All these images are created FROM another image which is in DTR. And I want to migrate these images to another registry to decommission DTR. If I pull the image from Docker DTR and create a new…
noonenine
  • 41
  • 7
0
votes
0 answers

Error response from daemon: Get https://ghcr.io/v2/: read tcp 10.10.5.108:33012->20.207.73.86:443: read: connection reset by peer

I Can't seem to pull the text generation inference docker image I run the command docker pull ghcr.io/huggingface/text-generation-inference:sha256-xxxxxxxxxxxxxxxxxxxxx467d7cf721f015b0987c956837f0e4f33e7b2.sig and the output is Error response from…
0
votes
1 answer

What is skaffold doing after skaffold build pushed successfully

When I run skaffold in a github workflow like this skaffold build it calls the gradle jib correctly, creates an image and pushes it to the ghcr successfully. Grdale finishes successfully as can be seen in the log. Nevertheless, something happens…
Tobias Neubert
  • 141
  • 1
  • 10
0
votes
1 answer

Github Actions worklow fails pushing container image to GHCR using the gradle jib plugin

Has anybody a working example of how to push a container image into a ghcr using the jib gradle plugin from within a github actions workflow? I've tried the whole day but whatever combination of password or tokens I try I always end with the jib…
Tobias Neubert
  • 141
  • 1
  • 10
0
votes
1 answer

How to copy images from GHCR to ACR

Looking for an example in GitHub actions workflow to clone a specifc image name by commit SHA from GHCR (GitHub registry) to ACR (Azure registry) with a need to copy all the tags and labels from the source repository to the target. At the moment,…
0
votes
0 answers

Docker: access denied on pulic github repo

I am trying to run "docker-compose up" on the docker-compose.yml below (the environment variable are defined in a .env file). version: "3.4" services: ib-gateway: image: ghcr.io/unusualalpha/ib-gateway:latest restart: always …
rcardinaux
  • 11
  • 1
  • 3