Skip to content

Commit a28d53f

Browse files
committed
chore: wip
1 parent eb5c12b commit a28d53f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

actions/buildkit/action.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,23 @@ runs:
279279
local cmd="$1"
280280
local mtls_options="$2"
281281
282+
echo "---------"
283+
echo $cmd $mtls_options build \
284+
--frontend dockerfile.v0 \
285+
--local context=$INPUT_CONTEXT \
286+
--local dockerfile=$INPUT_CONTEXT \
287+
--opt platform=$INPUT_PLATFORMS \
288+
$(echo "$INPUT_BUILD_ARGS" | sed -r '/^\s*$/d' - | sed -r 's/(.*)/--opt build-arg:\1 \\/' -) \
289+
$(echo "$INPUT_LABELS" | sed -r '/^\s*$/d' - | sed -r 's/(.*)/--opt label:\1 \\/' -) \
290+
"$target_args" \
291+
$cache_options \
292+
--opt filename=./$INPUT_DOCKERFILE \
293+
--opt attest:sbom= \
294+
--opt attest:provenance= \
295+
"${secret_args[@]}" \
296+
--output type=image,\"name=$(echo "$INPUT_TAGS" | paste -sd ',' -)\",push=$INPUT_PUSH
297+
echo "---------"
298+
282299
$cmd $mtls_options build \
283300
--frontend dockerfile.v0 \
284301
--local context=$INPUT_CONTEXT \

0 commit comments

Comments
 (0)