diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 704bfda606c3162b20686dc8292011a11c0f02c4..0b6b5dadd1c2f322a7450d8edd2d1d4e4e10184a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,7 +51,7 @@ Flake8:
 #     - pip install -r requirements/production.txt
 #     - python src/manage.py test
 
-Docker build:
+Docker build to KSZK registry:
   stage: Docker Build
   tags: [kszk]
   only:
@@ -63,6 +63,18 @@ Docker build:
     - echo "{\"auths\":{\"registry.kszk.bme.hu\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
     - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CONTAINER_IMAGE
 
+Docker build to Docker Hub registry:
+  stage: Docker Build
+  tags: [kszk]
+  only:
+    - tags
+  image:
+    name: gcr.io/kaniko-project/executor:debug
+    entrypoint: ['']
+  script:
+    - echo "{\"auths\":{\"hub.docker.com\":{\"username\":\"$DOCKERHUB_USER\",\"password\":\"$DOCKERHUB_PASSWORD\"}}}" > /kaniko/.docker/config.json
+    - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CONTAINER_IMAGE
+
 Deploy to Kubernetes:
   stage: deploy
   image: alpine