mirror of
https://gitea.com/docker/setup-buildx-action.git
synced 2024-11-22 01:19:35 +01:00
9b365965c1
Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
# 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:
|
|
description: 'Buildx version. (eg. v0.3.0)'
|
|
required: false
|
|
driver:
|
|
description: 'Sets the builder driver to be used'
|
|
default: 'docker-container'
|
|
required: false
|
|
driver-opts:
|
|
description: 'List of additional driver-specific options. (eg. image=moby/buildkit:master)'
|
|
required: false
|
|
buildkitd-flags:
|
|
description: 'Flags for buildkitd daemon'
|
|
default: '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host'
|
|
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
|
|
endpoint:
|
|
description: 'Optional address for docker socket or context from `docker context ls`'
|
|
required: false
|
|
config:
|
|
description: 'Optional config file path'
|
|
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'
|