diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index e058777ae1af2acb500275c2576005fb36036716..a153cdae3c3dee822b61dd995659de8b31bc19a9 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -1,6 +1,9 @@
 name: Docker
 
 on:
+  repository_dispatch:
+    types: backend-commit-event
+    
   push:
     # Publish `dev` as Docker `latest` image.
     branches:
@@ -33,21 +36,19 @@ jobs:
           else
             DOCKER_BUILDKIT=1 docker build . --file Dockerfile
           fi
-
-  # Push image to GitHub Packages.
-  # See also https://docs.docker.com/docker-hub/builds/
-  push:
+          
+  myEvent:
     # Ensure test job passes before pushing image.
     needs: test
 
     runs-on: ubuntu-latest
-    if: github.event_name == 'push'
+    if: github.event_name == 'backend-commit-event'
 
     steps:
       - uses: actions/checkout@v2
 
       - name: Build image
-        run: DOCKER_BUILDKIT=1 docker build . --file Dockerfile --tag $IMAGE_NAME
+        run: DOCKER_BUILDKIT=1 docker build /backend --file Dockerfile --tag $IMAGE_NAME
 
       - name: Login to Docker Hub
         uses: docker/login-action@v1