-
Notifications
You must be signed in to change notification settings - Fork 24
/
action.yml
46 lines (44 loc) · 1.43 KB
/
action.yml
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
name: "Docker Compose Action"
description: "This action runs your docker-compose file and clean up before action finished"
author: "Hoverkraft"
branding:
icon: anchor
color: gray-dark
inputs:
compose-file:
description: "Path to compose file(s). It can be a list of files. It can be absolute or relative to the current working directory (cwd)."
required: false
default: "./docker-compose.yml"
services:
description: "Services to perform docker-compose up."
required: false
up-flags:
description: "Additional options to pass to `docker-compose up` command."
required: false
default: ""
down-flags:
description: "Additional options to pass to `docker-compose down` command."
required: false
default: ""
compose-flags:
description: "Additional options to pass to `docker-compose` command."
required: false
default: ""
cwd:
description: "Current working directory"
required: false
default: ${{ github.workspace }}
compose-version:
description: |
Compose version to use.
If null (default), it will use the current installed version.
If "latest", it will install the latest version.
required: false
github-token:
description: The GitHub token used to create an authenticated client (to fetch the latest version of docker-compose).
default: ${{ github.token }}
required: false
runs:
using: node20
main: dist/index.js
post: dist/post.js