forked from gitsight/golang-docker-build-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 884 Bytes
/
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
name: 'Docker Build & Push'
description: 'Builds a Docker image and pushes to a private registry'
author: 'Sean Smith'
inputs:
image:
description: 'Name of the Docker image'
required: true
tag:
description: 'Tag override for Docker image'
required: false
registry:
description: 'Target Docker registry'
required: true
dockerfile:
description: 'Location of Dockerfile, if not Dockerfile in root directory'
required: false
buildArgs:
description: 'Docker build arguments in format KEY=VALUE,KEY=VALUE'
required: false
username:
description: 'Docker registry username'
required: false
password:
description: 'Docker registry password'
required: false
outputs:
imageFullName:
description: 'Full name of the Docker image'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'anchor'
color: 'blue'