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

Use remote.WithUserAgent where possible #294

Merged
merged 1 commit into from
Jan 18, 2021

Commits on Jan 14, 2021

  1. Use remote.WithUserAgent where possible

    This was using remote.WithTransport to set it manually, and this is much
    simpler (also annotates with the go-containerregistry version). This is
    really nice because it will give us at least some version information
    where we had none before (for non-releases).
    
    Before:
    
    ko
    ko/(devel)
    ko/v0.7.0
    
    After:
    
    ko go-containerregistry/v0.4.0
    ko/(devel) go-containerregistry/v0.4.0
    ko/v0.7.0 go-containerregistry/v0.4.0
    jonjohnsonjr committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    5386b2c View commit details
    Browse the repository at this point in the history