-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 952 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
name: 'Build & Push'
author: 'mrz1703'
branding:
icon: 'zap'
color: 'red'
description: 'Uses the git branch as the docker tag and pushes the container'
inputs:
name:
description: 'The name of the image you would like to push'
required: true
username:
description: 'The login username for the registry'
required: true
password:
description: 'The login password for the registry'
required: true
registry:
description: 'Use registry for pushing to a custom registry'
required: false
dockerfile:
description: 'Use dockerfile when you would like to explicitly build a Dockerfile'
required: false
build_params:
description: 'Use build_params when you want to pass a list of environment variables or etc'
required: false
cache:
description: 'Use cache when you have big images, that you would only like to build partially'
required: false
runs:
using: 'docker'
image: 'Dockerfile'