Skip to content

Commit 7a8f686

Browse files
committed
Removing section from actions documentation
1 parent 9f167ec commit 7a8f686

File tree

5 files changed

+8
-26
lines changed

5 files changed

+8
-26
lines changed

docs/actions.schema.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Basic action definition must have `image` and `command` to run the command in th
77
```yaml
88
action:
99
title: Action name
10-
description: Long description
10+
description: Long description
1111
image: alpine:latest
1212
command:
1313
- ls
@@ -74,12 +74,12 @@ Arguments can only be of type `string` and are always required.
7474

7575
## Templating of action file
7676

77-
The action provides basic templating for all file based on arguments, options and environment variables.
77+
The action provides basic templating for all file based on arguments, options and environment variables.
7878

79-
### Arguments and options
79+
### Arguments and options
8080

81-
For templating, standard Go templating engine is used.
82-
Refer to [documentation](https://pkg.go.dev/text/template).
81+
For templating, standard Go templating engine is used.
82+
Refer to [documentation](https://pkg.go.dev/text/template).
8383

8484
Arguments and Options are available by their machine names - `{{ .myArg1 }}`, `{{ .optStr }}`, `{{ .optArr }}`, etc.
8585

@@ -88,7 +88,7 @@ Arguments and Options are available by their machine names - `{{ .myArg1 }}`, `{
8888
1. `current_uid` - current user ID. In Windows environment set to 0.
8989
2. `current_gid` - current group ID. In Windows environment set to 0.
9090
3. `current_working_dir` - app working directory.
91-
4. `actions_base_dir` - actions base directory where the action was found. By default, current working directory,
91+
4. `actions_base_dir` - actions base directory where the action was found. By default, current working directory,
9292
but other paths may be provided by plugins.
9393
5. `action_dir` - directory of the action file.
9494

@@ -176,8 +176,6 @@ action:
176176
args:
177177
USER_ID: {{ .current_uid }}
178178
GROUP_ID: {{ .current_gid }}
179-
tags:
180-
- test:latest
181179
command:
182180
- sh
183181
- /action/main.sh
@@ -200,8 +198,6 @@ action:
200198
args:
201199
USER_ID: {{ .current_uid }}
202200
GROUP_ID: {{ .current_gid }}
203-
tags:
204-
- test:latest
205201
command:
206202
- sh
207203
- /action/main.sh
@@ -230,7 +226,7 @@ Renders `/etc/hosts` as:
230226

231227
## Build image
232228

233-
Images may be built in place. `build` directive describes the working directory on build.
229+
Images may be built in place. `build` directive describes the working directory on build.
234230
Image name is used to tag the built image.
235231

236232
Short declaration:
@@ -246,9 +242,6 @@ Long declaration:
246242
build:
247243
context: ./
248244
buildfile: test.Dockerfile
249-
tags:
250-
- alt/tag:version
251-
- alt/tag:version2
252245
args:
253246
arg1: val1
254247
arg2: val2
@@ -262,8 +255,6 @@ Long declaration:
262255
```yaml
263256
build:
264257
context: ./
265-
tags:
266-
- test:latest
267258
args:
268259
USER_ID: {{ .current_uid }}
269260
GROUP_ID: {{ .current_gid }}

docs/config.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Global configuration
22

3-
Launchr provides a way to make a global configuration for all actions.
3+
Launchr provides a way to make a global configuration for all actions.
44
The global configuration is read from directory `.launchr`. It should have `config.yaml` file.
55

66
## Build images
@@ -15,9 +15,6 @@ images:
1515
args:
1616
arg1: val1
1717
arg2: val2
18-
tags:
19-
- my/image:version2
20-
- my/image:version3
2118
my/image2:version:
2219
context: ./
2320
buildfile: test2.Dockerfile

example/buildargs/action.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ action:
44
image: buildargs:latest
55
build:
66
context: ./
7-
tags:
8-
- buildargs:latest
97
args:
108
USER_ID: {{ .current_uid }}
119
GROUP_ID: {{ .current_gid }}

example/envvars/action.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ action:
77
#ACTION_ENV: ${HOST_ENV} # Dynamic value comming from host env vars
88
build:
99
context: ./
10-
tags:
11-
- envvars:latest
1210
command:
1311
- sh
1412
- /action/main.sh

example/extrahosts/action.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ action:
77
- "example.com:127.0.0.1"
88
build:
99
context: ./
10-
tags:
11-
- extrahosts:latest
1210
command:
1311
- sh
1412
- /action/main.sh

0 commit comments

Comments
 (0)