Skip to content

Docker Hub readme is stale, and is not published by CI #49362

Open

Description

@phlax

The readme on Docker Hub (envoyproxy/envoy) is out of date, and nothing publishes it.

What is live now

  • "Supported tags" lists v1.30-latest to v1.33-latest. The supported versions are v1.37 to v1.40.
  • Those link to ci/Dockerfile-envoy on each release branch. The file moved to distribution/docker/Dockerfile-envoy (distribution/dockerhub: Update URL for Dockerfiles #42340 updated the template for that), and the release branches before v1.37 are no longer maintained.
  • The dev link is https://github.com/envoyproxy/envoy/blob/release/main/ci/Dockerfile-envoy, which is not a valid path (there is no release/main branch).

Why

The readme is rendered from distribution/dockerhub/readme.md.tpl (//distribution/dockerhub:readme), and pushed by ./ci/do_ci.sh dockerhub-publish (//tools/distribution:update_dockerhub_repository). No workflow runs that target, so changes to the template, and new stable versions, never reach Docker Hub.

The links are about to be wrong again

The readme links each supported tag to "its Dockerfile". The images are now built with Bazel (rules_oci, #49259), and #49356 removes Dockerfile-envoy from main: the dev link there changes to distribution/docker/BUILD, but the per-version links are generated the same way for every version, so v1.41 would link to a Dockerfile it does not have.

What needs doing

  • Publish the readme from CI: on a release, and when the template or its data change.
  • Link each version to what builds its images: the Dockerfile for the release branches that have one, distribution/docker/BUILD from the first that does not.
  • Fix what is live in the meantime, by running the publish target once.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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