Skip to content
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

Create Dependabot security update Fails - proxy | exec /bin/sh: exec format error #138

Closed
michaelg-baringa opened this issue Oct 21, 2024 · 3 comments

Comments

@michaelg-baringa
Copy link

I have setup a self hosted github runner on an AWS EC2 instance (Amazon Linux 2023) ARM64 which runs the hello world workflow fine. I have then enabled Dependabot Alerts on a test repo (Enabled Dependabot on self-hosted runners as well) and copied across the javascript folder from the Demo repo (https://github.com/dependabot/demo).

In my test repo I can then see 5 Vulnerability alerts and when I click Create Dependabot security update, it starts a workflow on the self hosted runner but errors out (see output below).

Run github/dependabot-action@main
  env:
    GITHUB_TOKEN: ***
    GITHUB_DEPENDABOT_JOB_TOKEN: ***
    GITHUB_DEPENDABOT_CRED_TOKEN: ***
🤖 ~ starting update ~
Fetching job details
Pulling updater images
  Pulling image ghcr.io/dependabot/dependabot-updater-npm:cf181fa1dc5aac32f954b4919607f73957acb1b6...
  Pulled image ghcr.io/dependabot/dependabot-updater-npm:cf181fa1dc5aac32f954b4919607f73957acb1b6
  Pulling image ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:v2.0.20241004183849@sha256:5e895b5edfaba72e99d0a19b43f386b18b65fc08a2d43af5aedd6360cda56842...
  Pulled image ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:v2.0.20241004183849@sha256:5e895b5edfaba72e99d0a19b43f386b18b65fc08a2d43af5aedd6360cda56842
Starting update process
Created proxy container: e9f3a75228b0017ca90f0bd1c1b0de10c49d9585bc783a84e95f26517088ab49
  proxy | exec /bin/sh: exec format error
Error: Dependabot encountered an error performing the update

Error: (HTTP code 304) container already stopped -  

For more information see: ... (write access to the repository is required to view the log)
🤖 ~ finished: error reported to Dependabot ~
@Takuya-Miyazaki
Copy link

I understood

@Takuya-Miyazaki
Copy link

I don't know where to fill this out

@michaelg-baringa
Copy link
Author

The issue was that I was using an ARM runner which is not supported so this can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants