diff --git a/dist/index.js b/dist/index.js
index 9844ea5..6e63d75 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1069,6 +1069,7 @@ function run() {
             yield asyncForEach(inputs.cacheTo, (cacheTo) => __awaiter(this, void 0, void 0, function* () {
                 buildArgs.push('--cache-from', cacheTo);
             }));
+            buildArgs.push(inputs.context);
             core.info(`🏃 Starting build...`);
             yield exec.exec('docker', buildArgs);
         }
diff --git a/src/main.ts b/src/main.ts
index 316fc09..3804db4 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -68,6 +68,7 @@ async function run(): Promise<void> {
     await asyncForEach(inputs.cacheTo, async cacheTo => {
       buildArgs.push('--cache-from', cacheTo);
     });
+    buildArgs.push(inputs.context);
 
     core.info(`🏃 Starting build...`);
     await exec.exec('docker', buildArgs);