-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
action.yml
46 lines (45 loc) · 1.36 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
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'setup-docker'
description: 'Set up your GitHub Actions workflow with a specific version of Docker'
author: 'khs1994'
inputs:
docker_version:
description: Docker Version
default: "24.0"
required: false
docker_nightly_version:
# https://github.com/AkihiroSuda/moby-snapshot/releases
description: Docker nightly Version
default: snapshot-20210202
required: false
docker_channel:
# https://download.docker.com/linux/ubuntu/dists/focal/pool/
description: Docker Channel
default: stable
# test
# nightly # this channel use https://github.com/AkihiroSuda/moby-snapshot
required: false
docker_buildx:
# https://docs.docker.com/engine/reference/commandline/buildx/
description: Enable Buildx
default: true
required: false
docker_cli_experimental:
# https://docs.docker.com/engine/reference/commandline/cli/#experimental-features
description: docker cli experimental
default: enabled
required: false
docker_daemon_json:
# https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
description: /etc/docker/daemon.json
default: |
{
"experimental": true
}
required: false
runs:
using: 'node20'
main: 'lib/setup-docker.js'
branding:
icon: 'box'
color: 'green'