-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
58 lines (58 loc) · 1.83 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
name: Container Builder
description: Builds container images using Docker in a reliable and efficient way
author: Pascal Mathis
inputs:
build:
description: Enable/disable the build phase of this action
default: 'true'
required: false
publish:
description: Enable/disable the publish phase of this action
default: 'true'
required: false
build_context:
description: Path to build context, relative to repository
default: .
required: false
build_dockerfile:
description: Path to Dockerfile, relative to repository
default: Dockerfile
required: false
target_repository:
description: Desired image repository where images built by this action get stored
required: true
target_registry_username:
description: Username for build artifact registry
required: true
target_registry_password:
description: Password for build artifact registry
required: true
cache_repository:
description: Desired cache image repository, defaults to image repository with suffix '-cache'
required: false
cache_registry_username:
description: Username for cache registry, defaults to credentials of build artifact registry
required: false
cache_registry_password:
description: Password for cache registry, defaults to credentials of build artifact registry
required: false
static_tags:
description: Tag target image with this comma-separated list of tags
required: false
tag_with_ref:
description: Tag target image with Git reference
default: 'false'
required: false
tag_with_sha:
description: Tag target image with Git commit hash
default: 'false'
required: false
outputs:
build_output:
description: Name of image (repository + tag) created during build phase
runs:
using: node12
main: dist/index.js
branding:
icon: package
color: green