2022-10-04 04:01:02 +03:00
name : 'Stacker Build and Push Action'
description : 'Build and push OCI images via a declarative yaml format.'
2022-04-26 01:22:04 +03:00
branding :
2022-10-04 04:01:02 +03:00
icon : 'align-justify'
color : 'blue'
2022-03-28 13:43:04 +03:00
inputs :
version :
2022-09-29 13:11:41 +03:00
description: 'Which stacker version to use, eg v0.40.3 see : https://github.com/project-stacker/stacker/releases'
2022-03-28 13:43:04 +03:00
required : false
2022-09-29 13:11:41 +03:00
default : 'v1.0.0-rc8'
2022-04-12 13:41:53 +03:00
file :
description : 'Which stacker file to build'
2022-09-29 13:11:41 +03:00
required : false
2022-03-28 13:43:04 +03:00
default : 'stacker.yaml'
2022-09-29 13:11:41 +03:00
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
2023-11-20 14:01:21 +03:00
default : 'stacker.yaml'
2022-03-28 13:43:04 +03:00
layer-type :
description: 'Set the output layer type (supported values : tar, squashfs) separated by whitespace'
required : false
default : "tar"
token :
2022-04-12 13:41:53 +03:00
description : 'GitHub Token used to authenticate against a repository for Git context'
2022-03-28 13:43:04 +03:00
required : false
default : ${{ github.token }}
2022-04-12 13:41:53 +03:00
build-args :
description: 'The list of build-time arguments separated by whitespace, eg : ONE=1 TWO=2 THREE=3'
2022-03-28 13:43:04 +03:00
required : false
2022-04-01 17:29:04 +03:00
tags :
description : 'Tags used when pushing to remote OCI registry, separated by whitespace'
required : false
url :
2023-11-20 14:01:21 +03:00
description: 'Remote registry URL, eg : docker://ghcr.io/myrepo'
2022-04-01 17:29:04 +03:00
required : false
username :
2022-09-29 13:11:41 +03:00
description : 'Username for the remote registry'
2022-04-01 17:29:04 +03:00
required : false
password :
2022-09-29 13:11:41 +03:00
description : 'Password for the remote registry'
2022-04-01 17:29:04 +03:00
required : false
skip-tls :
2022-09-29 13:11:41 +03:00
description : 'Skip tls verify on unsecure http registry'
2022-04-01 17:29:04 +03:00
required : false
2022-03-28 13:43:04 +03:00
runs :
using : 'node16'
main : 'dist/index.js'