Skip to content

Fix Docker image name and credential precedence in README#12

Merged
simonharrer merged 1 commit into
mainfrom
docs/fix-docker-image-name
Jul 9, 2026
Merged

Fix Docker image name and credential precedence in README#12
simonharrer merged 1 commit into
mainfrom
docs/fix-docker-image-name

Conversation

@simonharrer

@simonharrer simonharrer commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Two README corrections found during a docs gap analysis. Companion doc fixes: entropy-data/entropy-data-docs#122 and entropy-data/entropy-data-docs#123.

Docker image name

The README tells users to run entropy-data/cli, which is not a published image. The image built and pushed by .github/workflows/release.yaml:147 is entropydata/entropy-data-cli.

-docker run --rm entropy-data/cli --help
+docker run --rm entropydata/entropy-data-cli --help

The invocation works as written once the name is right: the Dockerfile uses ENTRYPOINT ["entropy-data"], so --help passes through, and docker/metadata-action's default latest=auto publishes latest alongside the semver tags on each release.

Credential precedence

The README says:

Resolution precedence: CLI options > environment variables / .env > config file.

That collapses two distinct layers. resolve_connection in config.py applies the connection named by --connection before consulting environment variables, so an explicit --connection overrides them. Only the default connection from the config file sits below env vars. The API key and host are also resolved independently, so one can come from the environment and the other from a connection.

The README told users to run `entropy-data/cli`, which is not published.
The image built and pushed by .github/workflows/release.yaml is
entropydata/entropy-data-cli.
@simonharrer simonharrer merged commit 088efe0 into main Jul 9, 2026
5 checks passed
@simonharrer simonharrer changed the title Fix Docker image name in README Fix Docker image name and credential precedence in README Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant