-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow fails to pull image from private registry due to missing authentication #208
Comments
Hello! Thank you for filing an issue. The maintainers will triage your issue shortly. In the meantime, please take a look at the troubleshooting guide for bug reports. If this is a feature request, please review our contribution guidelines. |
This functionality was added by github in 2020 (changelog) but from what I see it doesn't seem to have ever been implemented here. It seems that the workflow credentials object is not used by te ARC |
Which mode are you using ARC in for container jobs? Docker-in-docker or Kubernetes? |
Hi @chrispat |
Hi @chrispat were you able to take a look at this problem? |
@TingluoHuang @Link- Any idea what might be going on? |
Hi we are facing similar issue, both when using kubernetes or dind mode. we use EKS, so we don't even have a static token we can provide, each time a job runs it gets a short lived token to reach AWS resources (in my case ECR) solving this issue on k8s level is pretty straightforward (image pull secrets/serviceaccount IRSA/etc) what do we do in order to provide credential to this internal process? (running |
Checks
Controller Version
0.9.3
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
When creating a workflow that needs to use images hosted in a private repository we see a “no basic auth credentials” error. The same workflow running against a normal self-hosted runner is able to download the image.
I opened this discussion #3741 thinking it was a question but seeing that with the normal self-runner it works I understand that it is a bug.
Describe the expected behavior
It should work just like a self-hosted runner and be able to download the image from the private registry.
Additional Context
Controller Logs
Runner Pod Logs
The text was updated successfully, but these errors were encountered: