diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2412f38645596ba43ddf76812ae2275785ec7fda..e0a54ee16ffd9b5b54b65d8219bee5ad48387ea5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,8 +8,16 @@ build:
     name: gcr.io/kaniko-project/executor:v1.23.2-debug
     entrypoint: [""]
   script:
-    - echo "{\"auths\":{\"harbor.c3sl.ufpr.br\":{\"username\":\"$HARBOR_USER\",\"password\":\"$HARBOR_PASSWORD\"}}}" > /kaniko/.docker/config.json
-    - /kaniko/executor --single-snapshot --snapshot-mode=redo --use-new-run --context . --destination harbor.c3sl.ufpr.br/root/docs --cache=true --compressed-caching=true --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
+    - echo "{\"auths\":{\"harbor.c3sl.ufpr.br\":{\"auth\":\"$(echo -n ${HARBOR_USER}:${HARBOR_PASSWORD} | base64 -w 0)\"}}}" > /kaniko/.docker/config.json
+    - /kaniko/executor
+      --single-snapshot
+      --snapshot-mode=redo
+      --use-new-run
+      --context "${CI_PROJECT_DIR}"
+      --destination "harbor.c3sl.ufpr.br/root/${CI_PROJECT_NAME}:${CI_COMMIT_TAG}"
+      --cache=true
+      --compressed-caching=true
+      --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
 
 deploy:
   stage: deploy