/github-actions

Custom GitHub Actions

Primary LanguageShell

github-actions

Custom GitHub Actions

GitHub Actions

github-actions is a collection of GitHub Actions for different projects.

Buildpacks

Create Multi-arch Builders

The buildpacks/create-multi-arch-builders action parses builder-<tag>.toml files in the given path and for each file it creates a multi-arch (amd64, arm64) builder image and publishes them to the given base-image-uri with <tag> as the tag.

uses: jericop/github-actions/buildpacks/create-multi-arch-builders@v1.0.0
with:
  path: 'my-custom-builder'
  base-image-uri: 'ttl.sh/my-custom-builder'

Inputs

Parameter Description
path The path containing the builder-<tag>.toml file(s).
base-image-uri The base registry uri, without tag, where the multi-arch builder image(s) will be pushed.
pack-version Optional version of pack to install. Defaults to v0.30.0-pre1.
lifecycle-version Optional version of lifecycle to install. Defaults to v0.16.0.
push Optional boolean string to push the multi-arch image(s) to base-image-uri. Defaults to true.

Outputs

Parameter Description
tags Space separated builder tags derived from builder-<tag>.toml in given path
local-image-uri The local registry uri where multi-arch images are saved before being pushed to base-image-uri