actions / actions/checkout

checkout command 'sh -c "cat /etc/*release | grep ^ID"' fails on containers with musl libc as 'unknown'

Open
#560 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
8.9k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

Hello, I just wanted to test program compilation on musl libc with voidlinux-musl/alpine containers and checkout always fails with "unknown" while same command locally also in docker works fine like on this screenshot. Containers with glibc passes without any problems.
image

Here I'm leaving screenshot with errors and link to actions logs
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the checkout failure with the reported voidlinux-musl or Alpine containers and the sh -c "cat /etc/*release | grep ^ID" command, then compare it with a glibc container. Use the linked Actions logs to trace where the result becomes unknown; done means checkout succeeds on musl-based containers without regressing glibc behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, typescript
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.