Which version to use ?
Docker registry change (since v9.5.0): MegaLinter Docker images are published only to GitHub Container Registry (
ghcr.io). The Docker Hub registry (docker.io/oxsecurity/megalinter, formerlyoxsecurity/megalinter:*) is frozen at v9.4.0 until we implement OIDC-based publishing to Docker Hub. Docker Hub does not have v10 images: if you pulloxsecurity/megalinterfrom Docker Hub you will stay on v9.4.0. To get v10, switch yourimage:/docker pullreferences toghcr.io/oxsecurity/megalinter:v10(same applies to:betaand all flavor tags likeghcr.io/oxsecurity/megalinter-python:v10). GitHub Action users (uses: oxsecurity/megalinter@v10) are not affected, as the action already pulls fromghcr.io.
The following instructions examples are using latest MegaLinter stable version (v10 , always corresponding to the latest release)
- Docker image:
ghcr.io/oxsecurity/megalinter:v10 - GitHub Action:
oxsecurity/megalinter@v10
You can also use beta version (corresponding to the content of main branch)
- Docker image:
ghcr.io/oxsecurity/megalinter:beta - GitHub Action:
oxsecurity/megalinter@beta