2020-08-18 11:40:31 -04:00
|
|
|
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
|
|
|
|
name: 'Docker Setup Buildx'
|
|
|
|
description: 'Set up Docker Buildx'
|
|
|
|
author: 'docker'
|
|
|
|
branding:
|
|
|
|
icon: 'anchor'
|
|
|
|
color: 'blue'
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
version:
|
2020-09-06 10:37:52 -04:00
|
|
|
description: 'Buildx version. (eg. v0.3.0)'
|
2020-08-18 11:40:31 -04:00
|
|
|
required: false
|
|
|
|
driver:
|
|
|
|
description: 'Sets the builder driver to be used'
|
|
|
|
default: 'docker-container'
|
|
|
|
required: false
|
2020-09-03 10:23:15 -04:00
|
|
|
driver-opts:
|
2020-09-06 10:37:52 -04:00
|
|
|
description: 'List of additional driver-specific options. (eg. image=moby/buildkit:master)'
|
2020-08-18 11:40:31 -04:00
|
|
|
required: false
|
|
|
|
buildkitd-flags:
|
|
|
|
description: 'Flags for buildkitd daemon'
|
2020-09-03 14:38:04 -04:00
|
|
|
default: '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host'
|
2020-08-18 11:40:31 -04:00
|
|
|
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
|
2020-09-06 10:37:52 -04:00
|
|
|
context:
|
|
|
|
description: 'Name of a context from docker context ls or an endpoint as the address for docker socket (eg. DOCKER_HOST value)'
|
|
|
|
required: false
|
2020-08-18 11:40:31 -04:00
|
|
|
|
|
|
|
outputs:
|
|
|
|
name:
|
|
|
|
description: 'Builder instance name'
|
|
|
|
platforms:
|
|
|
|
description: 'Available platforms (comma separated)'
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|
|
|
|
post: 'dist/index.js'
|