## NAME

gdcloud artifacts oci build-from-tar - Package a Tar file into an OCI artifact

## SYNOPSIS

```text
gdcloud artifacts oci build-from-tar SRC DEST [flags]
```

### OPTIONAL FLAGS

```text
      --flat                                  If set, a flat structure for the OCI image instead of the usual layered image
      --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`.

For more information, see the [gdcloud CLI reference overview](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-reference/gdcloud.md.txt) page.