Skip to content

Image publishing to DockerHub is misconfigured #3917

@polarathene

Description

@polarathene

Preflight checklist

Ory Network Project

No response

Describe the bug

Presently (probably since the introduction of GoReleaser for this task?) the DockerHub image registry has:

  • Redundant single platform tags still published (GoReleaser was introduced for multi-platform image publishing back in early 2022) despite publishing a multi-platform image.
  • Images of a couple hundred bytes in size with SHA256 digest sigs published as tag names (redundant noise that shouldn't be there?).

Originally reported here: #3914 (comment)

image

image

It would be ideal if that was cleaned up, or at least a fix to prevent publishing this tags in future releases.

Reproducing the bug

Visit DockerHub for oryd/hydra

Relevant log output

No response

Relevant configuration

No response

Version

2.2.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

As a potential solution that is known to work without the undesirable tags being pushed, see the original report for advice on publishing the image via Github Actions.

Additional improvements:

  • The Hydra + Docker install docs reference oryd/hydra, but could also provide a link to the page as a minor convenience to the reader. Likewise on this repo README ("Get Started" and "Develop" sections for Docker, or more commonly via another badge at the top of the README)
  • The DockerHub README directs the user to Hydra docs.
    • It provides no additional context on the image usage (nor about rootless info which is relevant for volume bind mounts) or on the variant tags available. It should note images are published with each semver variant are Alpine based, while an additional -distroless suffix in the tag provides an image variant using Google's Distroless (Minimal Debian base image without a package manager).
    • Linking to the Quickstart guide could also be helpful since it's oriented around using the image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions