Pulling a Docker image from Packages #123292
Replies: 5 comments
-
go to the package then Package Settings then scroll down and add repository. |
Beta Was this translation helpful? Give feedback.
-
In |
Beta Was this translation helpful? Give feedback.
-
Troubleshooting Docker Image Pulling from GitHub PackagesIf you're facing authentication issues when pulling Docker images from GitHub Packages within a GitHub Actions workflow, here's a guide to help you troubleshoot the problem: Insights:
Suggestions for Troubleshooting:
By following these steps and verifying your authentication setup, you can address the "unauthorized" error when pulling Docker images from GitHub Packages. Mark as Correct AnswerIf you found this troubleshooting guide helpful, please mark me as the correct answer. Good luck with resolving the authentication issues with pulling Docker images from GitHub Packages! |
Beta Was this translation helpful? Give feedback.
-
@dariagrudzien , I would like to help you out, if create open an issue on it. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hello all,
We're building and pushing Docker images to Packages as our image registry. I'm writing a GH Actions workflow which would ssh into my server, Docker login to Packages registry and pull the image. All of this is happening within the same repository.
Our GH Actions workflow step:
When I try to pull the docker image I get this result:
We've tried a bunch of ways to authenticate:
GH_TOKEN
and giving it permissions for packages, contents, actions, pull_requestsWe're failing miserably every time. Any hints on what we could be missing?
Beta Was this translation helpful? Give feedback.
All reactions