-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Problem
Credentials passed by checkout are not available inside container-based actions.
The issue where credentials from actions/checkout are not available inside Docker container actions can cause authentication failures when Git commands are executed within the container environment. Since container actions run in an isolated filesystem, the Git credentials configured by the checkout step (such as the GITHUB_TOKEN) are not automatically accessible inside the container. As a result, operations like cloning private repositories, fetching submodules, or accessing private dependencies may fail with authentication errors. This can break CI/CD workflows that rely on container-based tools to perform Git operations after the repository has been checked out.
Possible fix areas:
- credential propagation
- environment variable mapping
- token handling
Open for talks regarding this issue!