2020-08-07 09:01:05 +00:00
|
|
|
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
|
2020-08-16 02:10:09 +00:00
|
|
|
name: 'Docker Setup Buildx'
|
|
|
|
description: 'Set up Docker Buildx'
|
|
|
|
author: 'docker'
|
2020-08-07 09:01:05 +00:00
|
|
|
branding:
|
2020-08-16 02:10:09 +00:00
|
|
|
icon: 'anchor'
|
2020-08-07 09:01:05 +00:00
|
|
|
color: 'blue'
|
|
|
|
|
|
|
|
inputs:
|
2020-08-13 08:42:57 +00:00
|
|
|
version:
|
2020-08-12 12:07:04 +00:00
|
|
|
description: 'Buildx version. e.g. v0.3.0'
|
2020-08-07 09:01:05 +00:00
|
|
|
required: false
|
2020-08-12 12:07:04 +00:00
|
|
|
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
|
2020-08-07 17:14:30 +00:00
|
|
|
install:
|
|
|
|
description: 'Sets up docker build command as an alias to docker buildx'
|
|
|
|
default: 'false'
|
|
|
|
required: false
|
2020-08-12 13:10:05 +00:00
|
|
|
use:
|
|
|
|
description: 'Switch to this builder instance'
|
|
|
|
default: 'true'
|
|
|
|
required: false
|
2020-08-07 09:01:05 +00:00
|
|
|
|
|
|
|
outputs:
|
2020-08-12 18:27:50 +00:00
|
|
|
name:
|
|
|
|
description: 'Builder instance name'
|
2020-08-07 09:01:05 +00:00
|
|
|
platforms:
|
|
|
|
description: 'Available platforms (comma separated)'
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|
|
|
|
post: 'dist/index.js'
|