cleanup
parent
1f82a524d7
commit
e6c8fb83c2
|
|
@ -59,8 +59,6 @@ function run() {
|
||||||
// default and local case
|
// default and local case
|
||||||
default:
|
default:
|
||||||
core.info('Building locally');
|
core.info('Building locally');
|
||||||
// Build docker image
|
|
||||||
// TODO: No image required (instead use a version published to dockerhub for the action, supply credentials for github cloning)
|
|
||||||
builtImage = yield model_1.Docker.build({ path: actionFolder, dockerfile, baseImage });
|
builtImage = yield model_1.Docker.build({ path: actionFolder, dockerfile, baseImage });
|
||||||
yield model_1.Docker.run(builtImage, Object.assign({ workspace }, buildParameters));
|
yield model_1.Docker.run(builtImage, Object.assign({ workspace }, buildParameters));
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -26,8 +26,6 @@ async function run() {
|
||||||
// default and local case
|
// default and local case
|
||||||
default:
|
default:
|
||||||
core.info('Building locally');
|
core.info('Building locally');
|
||||||
// Build docker image
|
|
||||||
// TODO: No image required (instead use a version published to dockerhub for the action, supply credentials for github cloning)
|
|
||||||
builtImage = await Docker.build({ path: actionFolder, dockerfile, baseImage });
|
builtImage = await Docker.build({ path: actionFolder, dockerfile, baseImage });
|
||||||
await Docker.run(builtImage, { workspace, ...buildParameters });
|
await Docker.run(builtImage, { workspace, ...buildParameters });
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue