mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-06 21:49:33 +02:00
src: make blacksmith builder name unique
This commit is contained in:
parent
bda6587832
commit
9b63433194
3 changed files with 3 additions and 3 deletions
|
@ -571,7 +571,7 @@ actionsToolkit.run(
|
|||
|
||||
if (builderInfo.addr) {
|
||||
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!));
|
||||
core.info(`Creating builder with command: ${createCmd.command}`);
|
||||
await Exec.getExecOutput(createCmd.command, createCmd.args, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue