Handle build bake through bake, bake-files and bake-targets

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-16 17:18:08 +02:00
parent b07bd1f9df
commit 8be103ff82
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
9 changed files with 475 additions and 241 deletions

View file

@ -25,7 +25,7 @@ inputs:
required: false
tags:
description: "Newline-delimited list of tags"
required: true
required: false
pull:
description: "Always attempt to pull a newer version of the image"
required: false
@ -44,11 +44,11 @@ inputs:
description: "Comma-delimited list of target platforms for build"
required: false
load:
description: "Shorthand for --output=type=docker"
description: "Load is a shorthand for --output=type=docker"
required: false
default: 'false'
push:
description: "Shorthand for --output=type=registry"
description: "Push is a shorthand for --output=type=registry"
required: false
default: 'false'
outputs:
@ -60,6 +60,16 @@ inputs:
cache-to:
description: "Newline-delimited list of cache export destinations for buildx (eg. user/app:cache, type=local,dest=path/to/dir)"
required: false
bake:
description: "Use bake as the high-level build command"
required: false
default: 'false'
bake-files:
description: "Newline-delimited list of bake definition files"
required: false
bake-targets:
description: "Newline-delimited list of bake targets"
required: false
outputs:
digest: