docker-build-push/setup-buildx/action.yml
CrazyMax 5bb3f5433b
Check if buildx available on runner
Use default buildx on runner

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-12 15:58:09 +02:00

36 lines
935 B
YAML

# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'Docker - Setup Buildx'
description: 'GitHub Action to set up Docker Buildx'
author: 'crazy-max'
branding:
color: 'blue'
icon: 'truck'
inputs:
buildx-version:
description: 'Buildx version. e.g. v0.3.0'
required: false
driver:
description: 'Sets the builder driver to be used'
default: 'docker-container'
required: false
driver-opt:
description: 'Passes additional driver-specific options. Eg. image=moby/buildkit:master'
required: false
install:
description: 'Sets up docker build command as an alias to docker buildx'
default: 'false'
required: false
use:
description: 'Switch to this builder instance'
default: 'true'
required: false
outputs:
platforms:
description: 'Available platforms (comma separated)'
runs:
using: 'node12'
main: 'dist/index.js'
post: 'dist/index.js'