action, переделанный для alt https://github.com/project-stacker/stacker-build-push-action
Go to file
Petu Eusebiu 4889bd5260 Prepare for migrating to project-stacker/stacker-build-action
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2022-03-31 17:24:32 +03:00
.github/workflows Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
dist Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
src Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
test Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
.gitignore Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
action.yml Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
LICENSE Initial commit 2022-03-25 13:26:33 +02:00
package-lock.json Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
package.json Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
README.md Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00
tsconfig.json Prepare for migrating to project-stacker/stacker-build-action 2022-03-31 17:24:32 +03:00

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'