Skip to content

Commit 3e2ff32

Browse files
committed
fix: rebuild dist bundle after type=docker fix
1 parent b85ad8e commit 3e2ff32

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

github-action/dist/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,13 @@ function runMain() {
22082208
return;
22092209
}
22102210
}
2211-
const buildxOutput = platform && !platformTag ? 'type=oci,dest=/tmp/output.tar' : undefined;
2211+
let buildxOutput;
2212+
if (platform && !platformTag) {
2213+
buildxOutput = 'type=oci,dest=/tmp/output.tar';
2214+
}
2215+
else if (platform && platformTag) {
2216+
buildxOutput = 'type=docker';
2217+
}
22122218
if (platformTag) {
22132219
core.saveState('platformTag', platformTag);
22142220
}

github-action/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)