-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
57 lines (57 loc) · 1.86 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
50
51
52
53
54
55
56
57
name: 'Stacker Build and Push Action'
description: 'Build and push OCI images via a declarative yaml format.'
branding:
icon: 'align-justify'
color: 'blue'
inputs:
version:
description: 'Which stacker version to use, eg v0.40.3 see: https://github.com/project-stacker/stacker/releases'
required: false
default: 'v1.0.0-rc8'
file:
description: 'Which stacker file to build'
required: false
default: 'stacker.yaml'
dockerfile:
description: 'Which dockerfile to build(will be converted to stacker.yaml)'
required: false
cache-dir:
description: "stacker's cache directory"
required: false
default: '.stacker'
dir:
description: 'directory under which to recursively search for stackerfiles to build'
required: false
file-pattern:
description: 'regex pattern to use when searching for stackerfile paths, used with dir arg'
required: false
default: 'stacker.yaml'
layer-type:
description: 'Set the output layer type (supported values: tar, squashfs) separated by whitespace'
required: false
default: "tar"
token:
description: 'GitHub Token used to authenticate against a repository for Git context'
required: false
default: ${{ github.token }}
build-args:
description: 'The list of build-time arguments separated by whitespace, eg: ONE=1 TWO=2 THREE=3'
required: false
tags:
description: 'Tags used when pushing to remote OCI registry, separated by whitespace'
required: false
url:
description: 'Remote registry URL, eg: docker://ghcr.io/myrepo'
required: false
username:
description: 'Username for the remote registry'
required: false
password:
description: 'Password for the remote registry'
required: false
skip-tls:
description: 'Skip tls verify on unsecure http registry'
required: false
runs:
using: 'node16'
main: 'dist/index.js'