diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..73e095fa82af5f2976aa68fd3db02dc21744f270
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+image: docker:latest
+
+services:
+  - docker:dind
+
+variables:
+  # Define the Docker image name using the GitLab CI environment variables
+  IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
+
+before_script:
+  # Login to the GitLab Container Registry
+  - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
+
+stages:
+  - build
+
+build:
+  stage: build
+  script:
+    # Build the Docker image using the Dockerfile
+    - docker build -t $IMAGE_NAME .
+    # Push the Docker image to the GitLab Container Registry
+    - docker push $IMAGE_NAME