Does act support the container attribute? #1851
-
I'm trying to use act for the first time but we run all of our project's actions in our own containers hosted on ghcr (publicly). e.g.:
Does act actually support this? I can't find any documentation about it and it just fails when I try with:
Again, these containers are fully public so no authorization is needed. Anyway, just wanted to be sure I wasn't wasting my time trying to get something to work that isn't supported. Any documentation on this would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Looks like this is cause by #1165 ? So, assuming the container property is supposed to work, it's just broken right now? |
Beta Was this translation helpful? Give feedback.
-
Confirmed that I'm running the version with #1774 so that doesn't seem to fix the issue on mac. |
Beta Was this translation helpful? Give feedback.
-
So, yes! Act does appear to support For the record, I did Ideally you'd just add a flag like |
Beta Was this translation helpful? Give feedback.
So, yes! Act does appear to support
container
(it'd be nice if your docs were a bit more robust in listing things like what is supported and what is not). My problem was that act was trying to use some stuck credentials for ghcr I had and was not falling back to unauthenticated pull. So #1774 does not seem to be fixed. The logging around this needs to be improved as well since it displayed a blank user name in the output but did not otherwise indicate that it was actually trying to use credentials to log in.For the record, I did
docker-credential-desktop list
and saw the invalid credentials. I then had to dodocker logout ghcr.io
sincedocker logout
just tries to logout of dockerhub. Tha…