forked from mr-smithers-excellent/docker-build-push
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (44 loc) · 1.16 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
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
useBranchTimestamp:
description: 'Use timestamp suffix for branch-based tags'
required: false
default: false
registry:
description: 'Target Docker registry'
required: true
dockerfile:
description: 'Location of Dockerfile, if not Dockerfile in root directory'
required: false
default: 'Dockerfile'
buildArgs:
description: 'Docker build arguments in format KEY=VALUE,KEY=VALUE'
required: false
target:
description: 'Docker build target'
required: false
username:
description: 'Docker registry username'
required: false
password:
description: 'Docker registry password'
required: false
outputs:
imageName:
description: 'Name of the Docker image'
imageFullName:
description: 'Full name of the Docker image, including registry url'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'anchor'
color: 'blue'