-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
59 lines (53 loc) · 1.46 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
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Multi-stage Docker Build
author: Eric Stern
description: Build Docker images to maximize layer caching and minimize build times
inputs:
build-args:
description: A comma-separated list of `--build-arg` flags
required: false
default: ''
context:
description: Build context. Default to `.`
required: false
default: '.'
dockerfile:
description: Path to Dockerfile
required: false
default: ''
parallel:
description: Build in parallel
required: false
default: false
repository:
required: true
description: Repository that all of the images and tags will pull from and push to
stages:
required: true
description: A comma-separated list of build stages
server-stage:
required: true
description: Docker target for server
tag-latest-on-default:
default: true
description: Automatically create a "latest" tag when the action is run on the default branch (defaults to `true`)
required: false
testenv-stage:
required: false
description: Docker target for testing
quiet:
required: false
default: true
description: Send `--quiet` flag to docker commands. Always false when running in debug mode.
outputs:
commit:
description: The full commit hash used for tags
server-tag:
description: Commit-specific tag for server
testenv-tag:
description: Commit-specific tag for test env
branding:
color: blue
icon: package
runs:
using: node16
main: dist/index.js