-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
37 lines (34 loc) · 1.25 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
name: 'Docker Build and Push'
description: 'GitHub action to build and push a docker image into GitHub Container registry'
author: 'RandLabs Inc.'
branding:
color: "blue"
icon: "archive"
inputs:
tag:
description: 'Tag name'
required: true
username:
description: 'Username used to log against the GitHub Container registry. Defaults to {github.actor} context variable.'
required: false
password:
description: 'Password or personal access token used to log against the GitHub Container registry. Defaults to GITHUB_TOKEN environment variable.'
required: false
labels:
description: 'Custom docker image labels.'
required: false
dockerfile:
description: 'Location of the dockerfile file. If relative, base path will be the "path" input.'
required: false
customdockerfile:
description: 'Custom dockerfile instructions. If present, will override "dockerfile" input.'
required: false
path:
description: 'Relative path under $GITHUB_WORKSPACE to set as the default directory. Defaults to "."'
required: false
repo:
description: 'Target repository in <owner-or-company>/<repository> format. Defaults to the one that fired the action.'
required: false
runs:
using: 'node20'
main: 'dist/index.js'