@@ -7,7 +7,7 @@ Basic action definition must have `image` and `command` to run the command in th
77``` yaml
88action :
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
8484Arguments 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 }}`, `{
88881. `current_uid` - current user ID. In Windows environment set to 0.
89892. `current_gid` - current group ID. In Windows environment set to 0.
90903. `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.
93935. `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.
234230Image name is used to tag the built image.
235231
236232Short 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 }}
0 commit comments