/stacker-build-action

Primary LanguageTypeScriptApache License 2.0Apache-2.0

stacker-build-action

ci

stacker build action builds OCI container images via a declarative yaml format.

stacker only works on Linux

For more information about stacker tool see: https://github.com/project-stacker/stacker

Action Inputs

Input Name Description Default
stackerfile the yaml file to be built as an OCI image, example: stacker.yaml stacker.yaml
layer-type output layer type (supported values: tar, squashfs), ca be both separated by whitespace tar
substitutes variable substitution in stackerfile, see stacker.yaml doc None
version stacker version to use latest

Example:

- name: Run stacker-build
  uses: project-stacker/stacker-build-action@main
  with:
    stackerfile: 'test/stacker.yaml'
    substitutes: 'SUB1=VAR1 SUB2=VAR2 SUB3=VAR3'
    layer-type: 'tar squashfs'