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