-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
49 lines (48 loc) · 1.42 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
name: docker-bpgpr
description: Builds and pushes Docker images to GitHub Package Registry
author: zvfvrv
branding:
icon: "package"
color: "gray-dark"
inputs:
gh_token:
description: Password or personal access token used to log in to a Docker registry. If not set then no login will occur
required: true
image_name:
description: Image name
required: true
tags:
description: Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
required: false
tag_with_ref:
description: Automatically tags the built image with the git reference as per the readme
required: false
default: false
tag_with_sha:
description: Automatically tags the built image with the git short SHA as per the readme
required: false
default: false
path:
description: Path to the build context
required: false
default: "."
dockerfile:
description: Path to the Dockerfile (Default is '{path}/Dockerfile')
required: false
default: "Dockerfile"
target:
description: Sets the target stage to build
required: false
build_args:
description: Comma-delimited list of build-time variables
required: false
labels:
description: Comma-delimited list of labels to add to the built image
required: false
push:
description: Whether to push the image
required: false
default: true
runs:
using: "node12"
main: "dist/index.js"