Files
bake-action/action.yml
CrazyMax a0a15756c1 Add metadata output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-01 22:22:37 +02:00

46 lines
1.1 KiB
YAML

# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: "Docker Buildx Bake"
description: "GitHub Action to use Docker Buildx Bake as a high-level build command"
author: 'docker'
branding:
icon: 'anchor'
color: 'blue'
inputs:
builder:
description: "Builder instance"
required: false
files:
description: "List of bake definition files"
required: true
targets:
description: "List of bake targets"
required: false
no-cache:
description: "Do not use cache when building the image"
required: false
default: 'false'
pull:
description: "Always attempt to pull a newer version of the image"
required: false
default: 'false'
load:
description: "Load is a shorthand for --set=*.output=type=docker"
required: false
default: 'false'
push:
description: "Push is a shorthand for --set=*.output=type=registry"
required: false
default: 'false'
set:
description: "List of targets values to override (eg. targetpattern.key=value)"
required: false
outputs:
metadata:
description: 'Build result metadata'
runs:
using: 'node12'
main: 'dist/index.js'