Skip to content

Conversation

@cw-atkhry
Copy link
Contributor

Summary

  • Add explicit host: registry.hub.docker.com configuration to fluentd's variant.mod file
  • This works around a potential bug in the mod tool where the Docker Hub registry URL was being constructed without the protocol scheme

Background

The mod update workflow was failing with the following error:

resolving dependency "fluentd": Get "/v2/fluent/fluentd/tags/list?last=v1.7.3-debian-1.0&n=1000": unsupported protocol scheme ""

The error indicates that the URL was missing the https://registry.hub.docker.com prefix and only had the path portion.

Root Cause Analysis

Investigation of the mod tool source code revealed that while the host field has a default value of registry.hub.docker.com, there may be a code path where the URL is not properly constructed.

By explicitly specifying the host in the configuration, we ensure the correct registry URL is used.

Add explicit host configuration for Docker Hub registry to work around
a potential bug in mod tool where the registry URL was being constructed
without the protocol scheme.
@cw-atkhry cw-atkhry marked this pull request as ready for review December 19, 2025 00:09
Copy link
Contributor

@cw-hironosukewatanabe cw-hironosukewatanabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMです。

@cw-atkhry cw-atkhry merged commit e837667 into master Dec 19, 2025
4 checks passed
@cw-atkhry cw-atkhry deleted the fix/fluentd-docker-registry-host branch December 19, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants