Registry / networking / oras-go

oras-go

JSON →
library1.2.7gogounverified

ORAS Go library provides a client for interacting with OCI-compliant artifact registries.

go get oras.land/oras-go
INSTALL
IMPORT
SIG · ORAS-GO
O
oras-go
networkinggov1.2.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

oras
oras.land/oras-go

Copy an artifact tag from one repository reference to another.

package main import ( "context" "fmt" "oras.land/oras-go/v2" "oras.land/oras-go/v2/registry/remote" ) func main() { ctx := context.Background() repo, _ := remote.NewRepository("registry.example.com/repo") desc, _ := oras.Copy(ctx, repo, "v1.0.0", repo, "v1.0.0-copy", oras.DefaultCopyOptions) fmt.Println("Copied artifact:", desc.Digest) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
oras-go — go get oras-go · libregistry