diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml
index 5ee50cb..c1201f5 100644
--- a/.github/workflows/build-and-publish.yml
+++ b/.github/workflows/build-and-publish.yml
@@ -36,7 +36,8 @@ jobs:
         with:
           # relative path to the place where source code with Dockerfile
           # is located
-          context: ./src/samples/simple
+          context: .
+          file: docker/Dockerfile
           # Note: tags has to be all lower-case
           tags: |
             glenux/teaching-boilerplate:latest