33b3aff026
Signed-off-by: Ravi Chamarthy <ravi@chamarthy.dev>
44 lines
1.3 KiB
YAML
44 lines
1.3 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'
|
|
required: false
|
|
default: 'latest'
|
|
file:
|
|
description: 'Which stacker file 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: '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'
|