Skip to content

GitHub actions Docker Hub and combined publishing instructions don't work #36243

@mmb

Description

@mmb

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images

What part(s) of the article would you like to see updated?

The "Publishing images to Docker Hub" YAML example fails at the attestation step because env.REGISTRY and env.IMAGE_NAME are not set.

The "Publishing images to Docker Hub and GitHub Packages" YAML has the same issue. I think this needs two attestation steps because it doesn't support multiple registries.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions