mirror of
https://github.com/nektos/act.git
synced 2026-04-27 01:45:52 +03:00
[GH-ISSUE #1248] Error response from daemon: Head "https://ghcr.io/v2/catthehacker/ubuntu/manifests/act-latest": denied: denied #687
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#687
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @k8s-gpubuilder-markus on GitHub (Jul 7, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1248
Bug report info
Command used with act
Describe issue
I expect for act to download the runner image medium.
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@dkasabovn commented on GitHub (Jul 7, 2022):
Also have this issue :)
@ChristopherHX commented on GitHub (Jul 7, 2022):
Unexpected, github has started to enforce authenticated pull for ghcr. No changelog, nothing.
During the past months you could do unauthenticated pulls.
I would need to lookup how to do authenticated pulls in actYou can do
docker login ghcr.iodocker pull ghcr.io/catthehacker/ubuntu:act-latestI think our pipeline might be broken now...
Previously I could also download nuget packages from my package summary without login, this also show an authentication error now. ( a bit offtopic )
@catthehacker commented on GitHub (Jul 7, 2022):
We can switch back to DockerHub
@dkasabovn commented on GitHub (Jul 7, 2022):
This is for all images? Feel like this is a pretty major change to go unannounced.
Guess I'll be adding my PAT for now.
@catthehacker commented on GitHub (Jul 7, 2022):
GitHub sometimes (un)intentionally makes (major) breaking changes
@ChristopherHX commented on GitHub (Jul 7, 2022):
This change seems to be reverted again.
@catthehacker commented on GitHub (Jul 7, 2022):
I still get unauthorised but I know from someone that GH is having a really fun time today with GHCR
@ZauberNerd commented on GitHub (Jul 8, 2022):
acthas built-in support for authenticated pulls, you just need to be logged-in to the docker registry andactwill use the same mechanism as the docker CLI to load the docker config and authenticate against the registry: https://github.com/nektos/act/blob/master/pkg/container/docker_auth.go@k8s-gpubuilder-markus commented on GitHub (Jul 18, 2022):
Thanks, that resolved it.
@highb commented on GitHub (Jul 22, 2022):
I have opened a PR to document this requirement for new users. https://github.com/nektos/act/pull/1270
@bbugh commented on GitHub (Aug 20, 2022):
I was encountering this issue because my PAT for ghcr.io had expired. Running
docker logout ghcr.ioallowed it to proceed as expected, without authentication.@Firefishy commented on GitHub (Aug 31, 2023):
The solution is to add a
docker/login-actionfor GHCR example:There is no need to define
github.actororsecrets.GITHUB_TOKENas these are defined automatically by GitHub Actions