-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
73 lines (73 loc) · 2.13 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Depot Bake
description: GitHub Action to build Docker images via Bake with Depot
author: Depot
branding:
icon: package
color: gray-dark
runs:
using: node20
main: dist/index.js
post: dist/index.js
inputs:
build-platform:
description: 'The platform to use for the build'
required: false
buildx-fallback:
description: 'Fallback to `docker buildx bake` if `depot bake` fails'
required: false
default: 'false'
files:
description: 'List of bake definition files'
required: false
lint:
description: 'Lint dockerfiles and fail build if any issues are at least the lint-fail-on severity'
required: false
default: 'false'
lint-fail-on:
description: 'Severity of linter issue to cause the build to fail. (e.g., error, warn, info, none)'
required: false
load:
description: 'Load is a shorthand for --set=*.output=type=docker'
required: false
default: 'false'
no-cache:
description: 'Do not use cache when building the image'
required: false
default: 'false'
project:
description: 'Depot project ID'
required: false
provenance:
description: 'Provenance is a shorthand for --set=*.attest=type=provenance'
required: false
pull:
description: 'Always attempt to pull a newer version of the image'
required: false
default: 'false'
push:
description: 'Push is a shorthand for --set=*.output=type=registry'
required: false
default: 'false'
save:
description: 'Save the image to the Depot ephemeral registry'
required: false
default: 'false'
sbom:
description: 'SBOM is a shorthand for --set=*.attest=type=sbom'
required: false
sbom-dir:
description: 'Directory to output SBOMs for each built image'
required: false
set:
description: 'List of targets values to override (eg. targetpattern.key=value)'
required: false
targets:
description: 'List of bake targets'
required: false
token:
description: 'Depot Token used to authenticate with the remote builder instance'
required: false
workdir:
description: 'Working directory of bake execution'
required: false
default: '.'