2020-10-08 00:52:52 +02:00
|
|
|
# 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"
|
2021-01-28 23:14:03 +01:00
|
|
|
author: 'docker'
|
2020-10-08 00:52:52 +02:00
|
|
|
branding:
|
|
|
|
|
icon: 'anchor'
|
|
|
|
|
color: 'blue'
|
|
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
|
builder:
|
|
|
|
|
description: "Builder instance"
|
|
|
|
|
required: false
|
2025-07-30 15:20:30 +02:00
|
|
|
workdir:
|
|
|
|
|
description: "Working directory of bake execution"
|
|
|
|
|
required: false
|
|
|
|
|
default: '.'
|
2024-01-12 14:15:02 +01:00
|
|
|
source:
|
|
|
|
|
description: "Context to build from. Can be either local or a remote bake definition"
|
|
|
|
|
required: false
|
2024-10-02 16:50:35 +02:00
|
|
|
allow:
|
|
|
|
|
description: "Allow build to access specified resources (e.g., network.host)"
|
|
|
|
|
required: false
|
2025-07-30 15:20:30 +02:00
|
|
|
call:
|
|
|
|
|
description: "Set method for evaluating build (e.g., check)"
|
|
|
|
|
required: false
|
2020-10-08 00:52:52 +02:00
|
|
|
files:
|
|
|
|
|
description: "List of bake definition files"
|
2023-09-20 12:25:33 -03:00
|
|
|
required: false
|
2020-10-08 00:58:59 +02:00
|
|
|
no-cache:
|
|
|
|
|
description: "Do not use cache when building the image"
|
|
|
|
|
required: false
|
|
|
|
|
default: 'false'
|
2020-10-08 00:52:52 +02:00
|
|
|
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'
|
2023-03-13 14:37:07 +01:00
|
|
|
provenance:
|
|
|
|
|
description: "Provenance is a shorthand for --set=*.attest=type=provenance"
|
|
|
|
|
required: false
|
2020-10-08 00:52:52 +02:00
|
|
|
push:
|
|
|
|
|
description: "Push is a shorthand for --set=*.output=type=registry"
|
|
|
|
|
required: false
|
|
|
|
|
default: 'false'
|
2023-03-13 14:37:07 +01:00
|
|
|
sbom:
|
|
|
|
|
description: "SBOM is a shorthand for --set=*.attest=type=sbom"
|
|
|
|
|
required: false
|
2020-10-08 00:52:52 +02:00
|
|
|
set:
|
|
|
|
|
description: "List of targets values to override (eg. targetpattern.key=value)"
|
|
|
|
|
required: false
|
2025-07-30 15:20:30 +02:00
|
|
|
targets:
|
|
|
|
|
description: "List of bake targets"
|
|
|
|
|
required: false
|
2024-04-13 15:20:19 +02:00
|
|
|
github-token:
|
|
|
|
|
description: "API token used to authenticate to a Git repository for remote definitions"
|
|
|
|
|
default: ${{ github.token }}
|
|
|
|
|
required: false
|
2020-10-08 00:52:52 +02:00
|
|
|
|
2021-09-01 22:22:37 +02:00
|
|
|
outputs:
|
|
|
|
|
metadata:
|
|
|
|
|
description: 'Build result metadata'
|
|
|
|
|
|
2020-10-08 00:52:52 +02:00
|
|
|
runs:
|
2026-03-03 18:22:08 +01:00
|
|
|
using: 'node24'
|
2020-10-08 00:52:52 +02:00
|
|
|
main: 'dist/index.js'
|
2024-04-29 11:28:52 +02:00
|
|
|
post: 'dist/index.js'
|