diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6245f375ecbe7b4cbc8a7e2fe49bcdf1864ca28d..577b11ad9123f0773f4be418cfd38aadac1af531 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,12 +21,11 @@ docker-build:
   # Default branch leaves tag empty (= latest tag)
   # All other branches are tagged with the escaped branch name (commit ref slug)
   script:
-    - docker build --pull -t "$CI_REGISTRY_IMAGE${CI_COMMIT_BRANCH}" -f infiles_dps/dockerfile .
-    - docker push "$CI_REGISTRY_IMAGE${tag}"
+    - tag="$CI_COMMIT_SHA"
+    - docker build --pull -t "${CI_REGISTRY_IMAGE}:${tag}" .
+    - docker push "${CI_REGISTRY_IMAGE}:${tag}"
   # Run this job in a branch where a Dockerfile exists
   rules:
     - if: $CI_COMMIT_BRANCH
       exists:
-        - infiles_dps/dockerfile
-  tags:
-    - shell
\ No newline at end of file
+        - Dockerfile