forked from canonical/docker-registry-charm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
actions.yaml
86 lines (86 loc) · 2.65 KB
/
actions.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
images:
description: |
List images known by this registry.
params:
options:
type: string
default: ''
description: |
Space separated options to pass to the underlying 'docker images'
command. For example, to list all images (including intermediates)
along with digests, run this action with 'options="--all --digests"'.
repository:
type: string
default: ''
description: |
Optional [REPOSITORY[:TAG]] to list images in a given repository. If
unspecified, all images known to the registry are listed.
additionalProperties: false
push:
description: |
Tag and push an image to this registry.
params:
image:
type: string
default: ''
description: |
Image name, which may include an optional :version string. If the
version is omitted, docker will assume ':latest'. This may be an
unqualified local image (e.g. ubuntu:18.04) or a fully qualified
remote registry (e.g. myregistry.example.com:5000/myimage:latest).
pull:
type: boolean
default: true
description: Pull the given image before tag/push.
tag:
type: string
default: ''
description: |
Tag name to use. By default, images are tagged with
'net_location/name:version'.
required: [image]
additionalProperties: false
rmi:
description: |
Remove image(s) from this registry.
params:
options:
type: string
default: ''
description: |
Space separated options to pass to the underlying 'docker rmi'
command. For example, to force image removal, run this action with
'options="--force"'.
image:
type: string
default: ''
description: |
Image (or space separated images) to remove. This can be be an image
id, tag, or digest.
required: [image]
additionalProperties: false
start:
description: |
Start a named registry container. With no arguments, this action starts
the registry container configured by the charm 'registry-name' option.
params:
name:
type: string
default: ''
description: Optional name of the registry container to start.
additionalProperties: false
stop:
description: |
Stop a named registry container. With no arguments, this action stops
the registry container configured by the charm 'registry-name' option.
params:
name:
type: string
default: ''
description: Optional name of the registry container to stop.
remove:
type: boolean
default: true
description: |
Remove the registry container after stopping.
additionalProperties: false