Skip to content

Error in DOCKER_USERNAME vs. DOCKERHUB_USERNAME #20447

@sjdthree

Description

@sjdthree

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

this line:
3. Create a new Repository variable named DOCKER_USERNAME and your Docker ID as value.

doesnt match the code later in the file here:

          username: ${{ vars.DOCKERHUB_USERNAME }}

and causes an error on login.

(also after i fixed that i'm now getting: "Error: buildx failed with: ERROR: invalid tag "/clockbox:latest": invalid reference format" -- not sure how to fix.

Location

https://docs.docker.com/build/ci/github-actions/

Suggestion

pick one: DOCKERHUB or DOCKER and make consistent.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions