File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ jobs:
414414 return;
415415 }
416416
417- const bakeSource = await new Build().gitContext({subdir: inpContext});
417+ const bakeSource = await new Build().gitContext({subdir: inpContext, attrs: {'fetch-by-commit': 'true'} });
418418 await core.group(`Set bake source`, async () => {
419419 core.info(bakeSource);
420420 });
@@ -810,7 +810,7 @@ jobs:
810810 };
811811 const renderTemplate = value => Util.compileHandlebars(value, {noEscape: true}, {meta});
812812
813- const bakeSource = await new Build().gitContext({subdir: inpContext});
813+ const bakeSource = await new Build().gitContext({subdir: inpContext, attrs: {'fetch-by-commit': 'true'} });
814814 await core.group(`Set source output`, async () => {
815815 core.info(bakeSource);
816816 core.setOutput('source', bakeSource);
Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ jobs:
704704 const renderTemplate = value => Util.compileHandlebars(value, {noEscape: true}, {meta});
705705 const toMultilineInput = value => value.split(/\r?\n/).map(line => line.trim()).filter(Boolean);
706706
707- const buildContext = await new Build().gitContext({subdir: inpContext});
707+ const buildContext = await new Build().gitContext({subdir: inpContext, attrs: {'fetch-by-commit': 'true'} });
708708 core.setOutput('context', buildContext);
709709
710710 switch (inpOutput) {
Original file line number Diff line number Diff line change 1- # syntax=docker/dockerfile:1
2-
31ARG GO_VERSION="1.25"
42ARG XX_VERSION="1.7.0"
53
Original file line number Diff line number Diff line change 1- # syntax=docker/dockerfile:1
2-
31FROM alpine AS base
42ARG TARGETPLATFORM
53ARG VERSION="unknown"
You can’t perform that action at this time.
0 commit comments