stacker-build-push-action/action.yml
Petu Eusebiu 92a680299f Added option to recursive build multiple stacker files
Added option to specify stacker cache dir
Added option to specify stacker version

feat(dockerfile): added option to build images from dockerfiles

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-11-15 14:57:37 -08:00

58 lines
1.9 KiB
YAML

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'