Questions tagged [github-container-registry]

Gidhub Container Registry (or ghcr.io).

You can store and manage Docker and OCI images in the Container registry, which uses the package namespace https://ghcr.io.

GitHub Packages is available with GitHub Free, GitHub Pro, GitHub Free for organizations, GitHub Team, GitHub Enterprise Cloud, GitHub Enterprise Server, and GitHub AE.

GitHub Packages is not available for private repositories owned by accounts using legacy per-repository plans. Also, accounts using legacy per-repository plans cannot access the Container registry since these accounts are billed by repository.

About Container registry support

The Container registry currently supports the following container image formats:

  • Docker Image Manifest V2, Schema 2
  • Open Container Initiative (OCI) Specifications

When installing or publishing a Docker image, the Container registry supports foreign layers, such as Windows images.

21 questions
1
vote
1 answer

Unable to login to GitHub Container Registry with GITHUB_TOKEN

I try to build and push the docker image to GHCR (GitHub Container Registry). Unfortunately, during the login process with docker/login-action@v1 action which uses a GITHUB_TOKEN as a password, I received an error. Error: Error response from daemon:…
Mikolaj
  • 1,231
  • 1
  • 16
  • 34
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

Gitlab registry images not getting pulled in Gitlab CI progcess

I am using /kaniko/executor to build the image and push to gitlab container registry (refer below script ). Image getting created and copied to container registry. Now I am using this base image into gitlab-ci process of different project with image…
0
votes
1 answer

Github Actions workflow for pushing a container to Github Container Registry fails with "unauthenticated"

I want to build and push a docker container from my Github repsitory to the Github Container Registry. Maybe it's worth mentioning that the repository lies in an ogranization. Here is my Github Action workflow: name: on: push: …
1
2