Skip to content

[bug] Support import of provisioners from _private_ OCI/image registry #56

Open
@mathieu-benoit

Description

@mathieu-benoit

Now that we support the import of provisioners from public OCI registry/image with #48, let's now support the import of provisioners from private OCI registry/image.

High level flow to support this:

$ docker login|oras login...
$ ...--import oci.//...

Currently, the oci provisioner import does not inherit the docker creds or any other registry sessions, so private registries cannot be used.

Thoughts here but open to suggestion, we should just support the dynamic login approach ("using Docker credentials") like illustrated here: https://github.com/oras-project/oras-go/blob/main/example_test.go#L106, as opposed to support static approach like with user/passwork or token.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions