You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+16-19Lines changed: 16 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,20 @@
1
+
# ### Action
2
+
#
3
+
# The action will run `docker compose up` to start the services defined in the given compose file(s).
4
+
# The compose file(s) can be specified using the `compose-file` input.
5
+
# Some extra options can be passed to the `docker compose up` command using the `up-flags` input.
6
+
#
7
+
# ### Post hook
8
+
#
9
+
# On post hook, the action will run `docker compose down` to clean up the services.
10
+
#
11
+
# Logs of the Docker Compose services are logged using GitHub `core.ts` API before the cleanup.
12
+
# The log level can be set using the `services-log-level` input.
13
+
# The default is `debug`, which will only print logs if [debug mode](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging) is switched on.
14
+
#
15
+
# Some extra options can be passed to the `docker compose down` command using the `down-flags` input.
1
16
name: "Docker Compose Action"
2
-
description: |
3
-
This action runs your compose file(s) and clean up before action finished
4
-
5
-
### Action
6
-
7
-
The action will run `docker compose up` to start the services defined in the given compose file(s).
8
-
The compose file(s) can be specified using the `compose-file` input.
9
-
Some extra options can be passed to the `docker compose up` command using the `up-flags` input.
10
-
11
-
### Post hook
12
-
13
-
On post hook, the action will run `docker compose down` to clean up the services.
14
-
15
-
Logs of the Docker Compose services are logged using GitHub `core.ts` API before the cleanup.
16
-
The log level can be set using the `services-log-level` input.
17
-
The default is `debug`, which will only print logs if [debug mode](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging) is switched on.
18
-
19
-
Some extra options can be passed to the `docker compose down` command using the `down-flags` input.
20
-
17
+
description: This action runs your compose file(s) and clean up before action finished
0 commit comments