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

Checkout fails in workflow #279

Closed
skumra opened this issue Feb 1, 2023 · 3 comments
Closed

Checkout fails in workflow #279

skumra opened this issue Feb 1, 2023 · 3 comments

Comments

@skumra
Copy link

skumra commented Feb 1, 2023

Firstly, thank you for sharing this amazing work.

I have set up runners using this implementation and can see the workflow run in these runners. But the workflow fails during the repository checkout step. The workflow runs fine in Github or regular self-hosted runners.

Here is my workflow:

jobs:
  clang-format:
    runs-on: self-hosted
    strategy:
      fail-fast: true
    container:
      image: my_image:latest
      options: --user root
      credentials:
        username: ${{ secrets.DOCKER_USER }}
        password: ${{ secrets.DOCKER_PASSWORD }}

    steps:
      - name: Checkout
        uses: actions/checkout@v3

Here is the error log:

Run actions/checkout@v3
/usr/bin/docker exec  <sha> sh -c "cat /etc/*release | grep ^ID"
OCI runtime exec failed: exec failed: unable to start container process: exec: "/__e/node12/bin/node": stat /__e/node12/bin/node: no such file or directory: unknown

Thank you in advance for your help.

@tanarurkerem
Copy link

I found this issue: actions/checkout#334
If you would like to read only one comment: actions/checkout#334 (comment)
Tip: Try checkout v1

@myoung34
Copy link
Owner

myoung34 commented Feb 2, 2023

This is a dupe of #261

The issue isnt with cat /etc/release or checkout, its that its attempting to use DinD which is documented as unsupported upstream

if you feel like I mis-diagnosed please reopen with more information

@myoung34 myoung34 closed this as completed Feb 2, 2023
@myoung34
Copy link
Owner

myoung34 commented Feb 2, 2023

This is a dupe of #261

The issue isnt with cat /etc/release or checkout, its that its attempting to use DinD which is documented as unsupported upstream

if you feel like I mis-diagnosed please reopen with more information

@myoung34 myoung34 closed this as completed Feb 2, 2023
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

3 participants