Skip to content

[docs-scanner] Incomplete variable in Circle CI login command #25214

@github-actions

Description

@github-actions

File: content/manuals/build-cloud/ci.md

Issue

The Circle CI example contains an incomplete variable name in the docker login command (appears twice in the file):

- run: echo "$DOCKER_ACCESS_TOKEN" | docker login --username $DOCKER_ --password-stdin

The variable $DOCKER_ is truncated and should be $DOCKER_ACCOUNT.

Why this matters

Users copying this Circle CI configuration will get a login error because $DOCKER_ is not a valid variable name. The command will fail with authentication errors, preventing builds from running.

Suggested fix

Change both occurrences (in the build_push and build_cache jobs) from:

- run: echo "$DOCKER_ACCESS_TOKEN" | docker login --username $DOCKER_ --password-stdin

to:

- run: echo "$DOCKER_ACCESS_TOKEN" | docker login --username $DOCKER_ACCOUNT --password-stdin

This matches the pattern used in all other CI examples in the same file.


Found by nightly documentation quality scanner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions