mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-06 00:35:53 -05:00
5bb3f5433b
Use default buildx on runner Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
36 lines
935 B
YAML
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'
|