Skip to content

oras tries to use http instead of https #1106

@erikschul

Description

@erikschul

What happened in your environment?

When executing command oras repo ls localhost
I get this error:

Error: Get "http://localhost/v2/_catalog": dial tcp [::1]:80: connect: connection refused

There is no argument for using https, only for using http (--plain-http), so what's going wrong?

What did you expect to happen?

No response

How can we reproduce it?

.

What is the version of your ORAS CLI?

Version: 1.1.0+Homebrew
Go version: go1.21.0

What is your OS environment?

MacOS

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions