diff --git a/dist/index.js b/dist/index.js index 5ed56b3b..7a568a2a 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/src/index.js b/src/index.js index 54037766..c1fac6b3 100644 --- a/src/index.js +++ b/src/index.js @@ -8,11 +8,11 @@ const core = require('@actions/core'); async function action() { Action.checkCompatibility(); - const { dockerfile, workspace } = Action; + const { dockerfile, workspace, rootFolder } = Action; const { version, platform, projectPath, buildName, buildsPath, method } = Input.getFromUser(); const baseImage = new ImageTag({ version, platform }); - const builtImage = await Docker.build({ path: workspace, dockerfile, baseImage }); + const builtImage = await Docker.build({ path: rootFolder, dockerfile, baseImage }); await Docker.run(builtImage, { workspace, platform, projectPath, buildName, buildsPath, method }); }