src: make blacksmith builder name unique
parent
bda6587832
commit
9b63433194
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -571,7 +571,7 @@ actionsToolkit.run(
|
||||||
|
|
||||||
if (builderInfo.addr) {
|
if (builderInfo.addr) {
|
||||||
await core.group(`Creating a builder instance`, async () => {
|
await core.group(`Creating a builder instance`, async () => {
|
||||||
const name = `blacksmith`;
|
const name = `blacksmith-${Date.now().toString(36)}`;
|
||||||
const createCmd = await toolkit.buildx.getCommand(await context.getRemoteBuilderArgs(name, builderInfo.addr!));
|
const createCmd = await toolkit.buildx.getCommand(await context.getRemoteBuilderArgs(name, builderInfo.addr!));
|
||||||
core.info(`Creating builder with command: ${createCmd.command}`);
|
core.info(`Creating builder with command: ${createCmd.command}`);
|
||||||
await Exec.getExecOutput(createCmd.command, createCmd.args, {
|
await Exec.getExecOutput(createCmd.command, createCmd.args, {
|
||||||
|
|
Loading…
Reference in New Issue