Skip to content

Commit dce81ea

Browse files
feat(actions): update docker/setup-buildx-action@v3 (#1292)
Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f71dcf7 commit dce81ea

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
02e9319239595dc97a5705a2df905d0b2ea023bf
1+
0d103c3126aa41d772a8362f6aa67afac040f80c

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/docker/SetupBuildxActionV3.kt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import kotlin.collections.toTypedArray
3939
* @param config BuildKit config file
4040
* @param configInline Inline BuildKit config
4141
* @param append Append additional nodes to the builder
42+
* @param cacheBinary Cache buildx binary to GitHub Actions cache backend
4243
* @param cleanup Cleanup temp files and remove builder at the end of a job
4344
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
4445
* the binding
@@ -90,6 +91,10 @@ public data class SetupBuildxActionV3 private constructor(
9091
* Append additional nodes to the builder
9192
*/
9293
public val append: String? = null,
94+
/**
95+
* Cache buildx binary to GitHub Actions cache backend
96+
*/
97+
public val cacheBinary: Boolean? = null,
9398
/**
9499
* Cleanup temp files and remove builder at the end of a job
95100
*/
@@ -118,13 +123,14 @@ public data class SetupBuildxActionV3 private constructor(
118123
config: String? = null,
119124
configInline: String? = null,
120125
append: String? = null,
126+
cacheBinary: Boolean? = null,
121127
cleanup: Boolean? = null,
122128
_customInputs: Map<String, String> = mapOf(),
123129
_customVersion: String? = null,
124130
) : this(version=version, driver=driver, driverOpts=driverOpts, buildkitdFlags=buildkitdFlags,
125131
install=install, use=use, endpoint=endpoint, platforms=platforms, config=config,
126-
configInline=configInline, append=append, cleanup=cleanup, _customInputs=_customInputs,
127-
_customVersion=_customVersion)
132+
configInline=configInline, append=append, cacheBinary=cacheBinary, cleanup=cleanup,
133+
_customInputs=_customInputs, _customVersion=_customVersion)
128134

129135
@Suppress("SpreadOperator")
130136
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
@@ -140,6 +146,7 @@ public data class SetupBuildxActionV3 private constructor(
140146
config?.let { "config" to it },
141147
configInline?.let { "config-inline" to it },
142148
append?.let { "append" to it },
149+
cacheBinary?.let { "cache-binary" to it.toString() },
143150
cleanup?.let { "cleanup" to it.toString() },
144151
*_customInputs.toList().toTypedArray(),
145152
).toTypedArray()

0 commit comments

Comments
 (0)