mirror of
https://github.com/containers/podman.git
synced 2026-07-31 17:37:17 -04:00
Add type and annotations to artifact add
podman artifact add now supports two new command line switches. --type string that describes the type of artifact --annotation string slice in the form of key=val These new options allow users to "tag" information in on their artifacts for any number of purposes down the line RUN-2446 Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
1
docs/source/markdown/.gitignore
vendored
1
docs/source/markdown/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
podman-artifact-add.1.md
|
||||
podman-artifact-pull.1.md
|
||||
podman-artifact-push.1.md
|
||||
podman-attach.1.md
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
####> This option file is used in:
|
||||
####> podman manifest add, manifest annotate
|
||||
####> podman artifact add, manifest add, manifest annotate
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--annotation**=*annotation=value*
|
||||
|
||||
@@ -19,10 +19,15 @@ added.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
@@option annotation.manifest
|
||||
|
||||
#### **--help**
|
||||
|
||||
Print usage statement.
|
||||
|
||||
#### **--type**
|
||||
|
||||
Set a type for the artifact being added.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
@@ -39,6 +44,10 @@ $ podman artifact add quay.io/myartifact/myml:latest /tmp/foobar1.ml /tmp/foobar
|
||||
1487acae11b5a30948c50762882036b41ac91a7b9514be8012d98015c95ddb78
|
||||
```
|
||||
|
||||
Set an annotation for an artifact
|
||||
```
|
||||
$ podman artifact add --annotation date=2025-01-30 quay.io/myartifact/myml:latest /tmp/foobar1.ml
|
||||
```
|
||||
|
||||
|
||||
## SEE ALSO
|
||||
Reference in New Issue
Block a user