mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-07 14:09:30 +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
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
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…
Add table
Add a link
Reference in a new issue