2020-08-07 05:01:05 -04:00
|
|
|
# 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:
|
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-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'
|