Skip to content

The release image job still pulls moby/buildkit anonymously from Docker Hub #86

Closed

Description

@heyJordanParker

Found while moving the Debian base images to ECR Public (#85).

The IMAGE job in .github/workflows/sharp.yml calls the reusable workflow docker/github-builder (at 58cb9f5b). That workflow sets BUILDKIT_IMAGE: "moby/buildkit:v0.32.2" in its own workflow-level env, and its "Set up Docker Buildx" step pulls that image before any login step runs. So every IMAGE runner makes one anonymous Docker Hub pull, and a Docker Hub 429 or 504 there fails the release image. This happened to LINUX on 2026-10-09.

It runs on v* tags only.

What was checked

  • No input of docker/github-builder at 58cb9f5b overrides BUILDKIT_IMAGE. Passing registry-auths or registry-identities doesn't help, because the buildx setup pulls before it logs in.
  • moby/buildkit isn't a Docker official image, so public.ecr.aws/docker/library doesn't mirror it.

Options

  1. Check newer docker/github-builder releases for a BuildKit image or driver-opts input. If one exists, point it at a mirror such as public.ecr.aws/vend/moby/buildkit if one is trusted, or at a copy in ghcr.io.
  2. Replace docker/github-builder with our own buildx jobs: docker/login-action for Docker Hub first, then docker/setup-buildx-action with driver-opts: image=…, then build and push. That gives up the reusable workflow's provenance setup unless we rebuild it.

Activity

  1. heyJordanParker commented on Oct 9, 2026

    @heyJordanParker
    OwnerAuthor

    sharp.yml already uses docker/github-builder v1.17.0 (58cb9f5b), the latest release as of 2026-10-10 (gh api repos/docker/github-builder/releases). So option 1 has no newer version to move to yet. The 'no input overrides BUILDKIT_IMAGE' finding applies to the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions