diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 641836048638c9c281097457570386eef7f88ba8..43eeb565c2509d280385e9cbe031e73b5302d3a9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,15 +37,15 @@ arm64:
   script:
     - |
       if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
-        tag="arm64"
+        tag=":arm64"
         echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'arm64'"
       else
-        tag=":$CI_COMMIT_REF_SLUG"
+        tag=":${CI_COMMIT_REF_SLUG}-arm64"
         echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
       fi
-    - docker build --pull -f arm64.dockerfile -t "$CI_REGISTRY_IMAGE${tag}-arm64" .
-    - docker push "$CI_REGISTRY_IMAGE${tag}-arm64"
+    - docker build --pull -f arm64.dockerfile -t "$CI_REGISTRY_IMAGE${tag}" .
+    - docker push "$CI_REGISTRY_IMAGE${tag}"
   # Run this job in a branch where a Dockerfile exists
   rules:
     - changes:
-      - x86.dockerfile
+      - arm64.dockerfile