Comments (6)
Ah gotcha! Do you want to PR to update the docs here and clarify what you did so the next person doesnโt run into the same issue? It would be greatly appreciated.
from github-ci.
Actually looks like the docs were say:
To authenticate to the Container registry within a GitHub Actions workflow, use the GITHUB_TOKEN for the best security and experience. If your workflow is using a personal access token (PAT) to authenticate to ghcr.io, then we highly recommend you update your workflow to use the GITHUB_TOKEN.
And this guide says you must give permission to a specific repo's actions for a given package: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio
from github-ci.
It should indeed work - I think there could be a few reasons it wouldn't:
- you didn't enable users to have public/private access to packages in the org settings
- your user doesn't have the correct permissions (everywhere I've used this successfully I have admin/owner)
If you can give me a more specific error message I could perhaps help - I'm going for my run now but will be back in about an hour!
from github-ci.
Sorry I updated my comments from under your feet but I think I found the problem.
It's very unintuitive but even though a package is linked with a repo, that doesn't mean the repo's actions are automatically authorized to push to that package.
from github-ci.
I had to manually add the repo there.
from github-ci.
Sure! I'll know shortly that this fixes my issue. I can also confirm I did the two things you mentioned above and that wasn't enough.
from github-ci.
Related Issues (12)
- Bootstrap from Singularity image on GHCR? HOT 6
- container-builder-template link broken in README
- Cannot run manual deploy workflow
- Cannot push to Github Container Registry HOT 7
- Is it possible to view singularity images as oras://ghcr.io/ in github packages HOT 3
- No licence file in the repository HOT 1
- update recipe to use oras push/pull HOT 53
- test identicalness before deploying HOT 2
- Typo in a link in README HOT 1
- public pulling HOT 8
- using a pre-installed docker image with singularity installed? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-ci.