-
Notifications
You must be signed in to change notification settings - Fork 8
/
porter.yaml
55 lines (48 loc) · 1.08 KB
/
porter.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
schemaVersion: 1.0.0-alpha.1
name: examples/whalesay
version: 0.2.1
description: "An example bundle that uses docker through the magic of whalespeak"
registry: ghcr.io/getporter
required:
- docker
parameters:
- name: msg
description: a message for the whales to speak
type: string
default: "whale hello there!"
applyTo:
- say
mixins:
- docker
install:
- docker:
run:
image: "ghcr.io/getporter/examples/images/whalesay:latest"
rm: true
arguments:
- cowsay
- Hello World
upgrade:
- docker:
run:
image: "ghcr.io/getporter/examples/images/whalesay:latest"
rm: true
arguments:
- cowsay
- World 2.0
say:
- docker:
run:
image: "ghcr.io/getporter/examples/images/whalesay:latest"
rm: true
arguments:
- cowsay
- "{{ bundle.parameters.msg }}"
uninstall:
- docker:
run:
image: "ghcr.io/getporter/examples/images/whalesay:latest"
rm: true
arguments:
- cowsay
- Goodbye World