You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"--cname", required=True, type=click.Path(), help="Canonical Name of Image"
104
+
"--tag",
105
+
required=False,
106
+
help="OCI tag of image",
107
+
)
108
+
defpush_container(container, tag):
109
+
"""
110
+
Push to an OCI registry.
111
+
112
+
:since: 0.11.0
113
+
"""
114
+
115
+
Podman().push(container, oci_tag=tag)
116
+
117
+
118
+
@cli.command()
119
+
@click.option(
120
+
"--container",
121
+
required=True,
122
+
help="Container Name",
35
123
)
124
+
@click.option("--cname", required=True, help="Canonical Name of Image")
36
125
@click.option(
37
126
"--arch",
38
127
required=False,
39
-
type=click.Path(),
40
128
default=None,
41
129
help="Target Image CPU Architecture",
42
130
)
43
131
@click.option(
44
132
"--version",
45
133
required=False,
46
-
type=click.Path(),
47
134
default=None,
48
135
help="Version of image",
49
136
)
50
137
@click.option(
51
138
"--commit",
52
139
required=False,
53
-
type=click.Path(),
54
140
default=None,
55
141
help="Commit of image",
56
142
)
57
-
@click.option("--dir", "directory", required=True, help="path to the build artifacts")
143
+
@click.option(
144
+
"--dir",
145
+
"directory",
146
+
required=True,
147
+
type=click.Path(),
148
+
help="path to the build artifacts",
149
+
)
58
150
@click.option(
59
151
"--cosign_file",
60
152
required=False,
61
153
help="A file where the pushed manifests digests is written to. The content can be used by an external tool (e.g. cosign) to sign the manifests contents",
62
154
)
63
155
@click.option(
64
156
"--manifest_file",
157
+
type=click.Path(),
65
158
default="manifests/manifest.json",
66
159
help="A file where the index entry for the pushed manifest is written to.",
0 commit comments