## TL;DR

Fix: point the action at the codecov wrapper download script (the download.sh in codecov/wrapper) instead of relying on auto-detection, and the right binary gets fetched.

## Steps

1. The codecov-action's platform auto-detection doesn't cover Alpine, so on Alpine-based containers the uploader binary download fails. Fix: point the action at the codecov wrapper download script (the download.sh in codecov/wrapper) instead of relying on auto-detection, and the right binary gets fetched. The maintainer confirmed this approach.

Expected: The maintainer confirmed this approach.

## When to use

You are seeing this: Codecov - Alpine image not auto-detected on Action. Use this skill when you run into "Alpine image not auto-detected: use the wrapper download script".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://github.com/codecov/codecov-action/issues/1262
