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. If you pulloxsecurity/megalinter:v9from Docker Hub you will stay on v9.4.0. To get v9.5.0 and later, switch yourimage:/docker pullreferences toghcr.io/oxsecurity/megalinter:v9(same applies to:betaand all flavor tags likeghcr.io/oxsecurity/megalinter-python:v9). GitHub Action users (uses: oxsecurity/megalinter@v9) are not affected, as the action already pulls fromghcr.io.
The following instructions examples are using latest MegaLinter stable version (v9 , always corresponding to the latest release)
- Docker image:
ghcr.io/oxsecurity/megalinter:v9 - GitHub Action:
oxsecurity/megalinter@v9
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