stacker-build-push-action/action.yml
Petu Eusebiu bcb1b75e0d Added stacker publish
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2022-04-06 19:00:54 +03:00

41 lines
1.2 KiB
YAML

name: 'Stacker build action'
description: 'Builds OCI images via a declarative yaml format.'
inputs:
version:
description: 'Which stacker version to use'
required: false
default: 'latest'
stackerfile: # id of input
description: 'Which stackerfile to build'
required: true
default: 'stacker.yaml'
layer-type:
description: 'Set the output layer type (supported values: tar, squashfs) separated by whitespace'
required: false
default: "tar"
token:
description: 'Used to pull stacker release binaries'
required: false
default: ${{ github.token }}
substitutes:
description: 'The list of subtitutes to make in stacker file 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'