mirror of
https://gitea.com/docker/build-push-action.git
synced 2024-11-25 19:09:40 +01:00
8f0f662386
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
38 lines
977 B
YAML
38 lines
977 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:
|
|
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:
|
|
name:
|
|
description: 'Builder instance name'
|
|
platforms:
|
|
description: 'Available platforms (comma separated)'
|
|
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|
|
post: 'dist/index.js'
|