Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docker hub ratelimit metric #208

Merged
merged 8 commits into from
Sep 10, 2024

Conversation

gamoutatsumi
Copy link
Collaborator

@gamoutatsumi gamoutatsumi force-pushed the add_docker_ratelimit branch 3 times, most recently from c4ec366 to 6e3fd8b Compare June 14, 2024 01:50
@gamoutatsumi gamoutatsumi force-pushed the add_docker_ratelimit branch from 6e3fd8b to 2f81c3c Compare June 14, 2024 02:14
@gamoutatsumi gamoutatsumi marked this pull request as ready for review June 18, 2024 01:18
@whywaita
Copy link
Owner

Please add an options that user for docker hub

if os.Getenv(EnvDockerHubUsername) != "" && os.Getenv(EnvDockerHubPassword) != "" {
c.DockerHubCredential.Username = os.Getenv(EnvDockerHubUsername)
c.DockerHubCredential.Password = os.Getenv(EnvDockerHubPassword)
}
Copy link
Owner

Choose a reason for hiding this comment

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

Please logging and handling

  • if set EnvProvideDockerHubMetrics is false, but set Docker credential (maybe not needed)
  • if set EnvProvideDockerHubMetrics is true, but not set Docker credential (logging anonymous mode)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks, reflected your reviews.

@whywaita whywaita merged commit 901e323 into whywaita:master Sep 10, 2024
2 checks passed
@whywaita
Copy link
Owner

Thank you!

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.

2 participants