diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa9f3eef06150abd7a50151a2764691fba0ee430..0fbc06123ec74630fbe146e5c1b9ca0240860bfe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,6 @@ stages:
 
 variables:
   DOCKER_TLS_CERTDIR: "/certs"
-  DO_ACCESS_TOKEN: $DO_ACCESS_TOKEN
 
 test:
   stage: testing
@@ -28,13 +27,7 @@ deploy:
   only:
     - tags
   before_script:
-    - apk add --no-cache wget
-    - apk add --no-cache tar
-    - wget https://github.com/digitalocean/doctl/releases/download/v1.92.0/doctl-1.92.0-linux-amd64.tar.gz
-    - tar xf doctl-1.92.0-linux-amd64.tar.gz
-    - mv doctl /usr/local/bin
-    - doctl auth init -t $DO_ACCESS_TOKEN
-    - doctl registry login
+    - echo $DO_ACCESS_TOKEN | docker login registry.digitalocean.com --username $DO_ACCESS_TOKEN --password-stdin
   script:
     - docker build -t registry.digitalocean.com/ocw-container/ocw-backend:latest -t registry.digitalocean.com/ocw-container/ocw-backend:$CI_COMMIT_TAG .
     - docker push registry.digitalocean.com/ocw-container/ocw-backend:$CI_COMMIT_TAG