Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/bake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ jobs:
return;
}

const bakeSource = await new Build().gitContext({subdir: inpContext});
const bakeSource = await new Build().gitContext({subdir: inpContext, attrs: {'fetch-by-commit': 'true'}});
await core.group(`Set bake source`, async () => {
core.info(bakeSource);
});
Expand Down Expand Up @@ -810,7 +810,7 @@ jobs:
};
const renderTemplate = value => Util.compileHandlebars(value, {noEscape: true}, {meta});

const bakeSource = await new Build().gitContext({subdir: inpContext});
const bakeSource = await new Build().gitContext({subdir: inpContext, attrs: {'fetch-by-commit': 'true'}});
await core.group(`Set source output`, async () => {
core.info(bakeSource);
core.setOutput('source', bakeSource);
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ jobs:
const renderTemplate = value => Util.compileHandlebars(value, {noEscape: true}, {meta});
const toMultilineInput = value => value.split(/\r?\n/).map(line => line.trim()).filter(Boolean);
const buildContext = await new Build().gitContext({subdir: inpContext});
const buildContext = await new Build().gitContext({subdir: inpContext, attrs: {'fetch-by-commit': 'true'}});
core.setOutput('context', buildContext);
switch (inpOutput) {
Expand Down
2 changes: 0 additions & 2 deletions test/go.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.25"
ARG XX_VERSION="1.7.0"

Expand Down
2 changes: 0 additions & 2 deletions test/hello.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# syntax=docker/dockerfile:1

FROM alpine AS base
ARG TARGETPLATFORM
ARG VERSION="unknown"
Expand Down
Loading