Skip to content

fix: use-plain-http not working on some envs#296

Merged
tompizmor merged 1 commit intov2from
fix-plain-http
Nov 12, 2025
Merged

fix: use-plain-http not working on some envs#296
tompizmor merged 1 commit intov2from
fix-plain-http

Conversation

@tompizmor
Copy link
Member

Description of the change

This PR will make the go-containerregistry library to properly parse the OCI reference when the flag --use-plain-http is set

Benefits

The --use-plain-http flag will work fine in more environments

Possible drawbacks

None

Applicable issues

Signed-off-by: Tomas Pizarro Moreno <tomas.pizarro@broadcom.com>
}

// ociReferenceExists checks if a given oci reference exists in the repository
func ociReferenceExists(ociRef, username, password string) (bool, error) {
Copy link
Member Author

Choose a reason for hiding this comment

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

this was unused

@tompizmor tompizmor merged commit 25c31a0 into v2 Nov 12, 2025
12 checks passed
@tompizmor tompizmor deleted the fix-plain-http branch November 12, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use-plain-http option not working

4 participants