Stay organized with collections
Save and categorize content based on your preferences.
NAME
gdcloud artifacts oci build-from-tar - Package a Tar file into an OCI artifact
SYNOPSIS
gdcloud artifacts oci build-from-tar SRC DEST [flags]
OPTIONAL FLAGS
--index-annotations stringToString Add annotations to index in OCI image (default [])
--layer-annotations stringToString Add annotations to image layer in OCI image (default [])
--layer-media-type string Layer media type (default "application/vnd.oci.image.layer.v1.tar+gzip")
--manifest-annotations stringToString Add annotations to image manifest in OCI image (default [])
--manifest-config-media-type string Manifest config media type (default "application/vnd.gpc.tar-file.config.v1alpha1+json")
--version string Version of tar file (default "1.0.0")
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-12 UTC."],[[["`gdcloud artifacts oci build-from-tar` command packages a Tar file into an OCI (Open Container Initiative) artifact."],["You can specify the source (`SRC`) and destination (`DEST`) for creating the OCI artifact using this command."],["Several optional flags allow for customization, such as adding annotations to the index, layer, and manifest."],["You can configure the layer media type and manifest config media type during the creation process, with defaults provided."],["Global flags like `--configuration`, `--format`, `--help`, `--project`, and `--quiet` are accessible with this command, as they are with all `gdcloud` commands."]]],[]]