Replies: 1 comment
-
Maybe to help move things along—what I'm primarily interested in is figuring out where this authentication step is taking place. If I am referencing an action as a step, the Docker authentication doesn't appear to be handled by the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Oh hey! I'm diving into self-hosted GitHub Actions, and I'm using ARC. For the most part, all is well. I'm able to trigger jobs without issue, and running actions from the shell using those runners is fine. Where things get hairy is that I'm trying to use multiple containers within a job (as distinct steps, not
services
). If I run a step like:As an example, I can pull both public and private images without issue.
If instead I want to reference that as an external action:
And it is like:
I get a 403, permission denied as if it's not authenticated. If I use a distinct step before the action that pulls the image, everything is good and the external action works without a hitch.
The ARC runner is configured to have two containers in the pod—a
runner
which is running an Ubuntu 20 based image, anddocker
which is running an extended version ofdocker:dind
—both of which havedocker-credential-gcr
installed and configured.I've verified that in the
runner
container, both therunner
user, as well asroot
are able to pull the images without issue when Iexec
into the pod. For thedocker
container, it is running asroot
, and that user can also pull those images without issue—all of these tests have been done with both interactive and non-interactive shells to eliminate that as a variable, still no change.While it's possible I could just have the distinct pull step, I'd rather not, since that's brittle—the caller shouldn't need to know the image tag in the action, and
args
within theuses: docker://
step syntax being a string rather than an array makes writing anything beyond a one-liner a bit dicey, given it must be quoted.Any ideas? This seems so strange!
Beta Was this translation helpful? Give feedback.
All reactions