diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f46183e7ba83599dc32c57120bb16e39bea533a5..aa963a9271aaf3d296386ee479b5063ea689f2c0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -103,13 +103,15 @@ test:
 
 deploy:
   stage: deploy
-  image: 
-    name: docker.io/flyio/flyctl:v0.1.103
-    entrypoint: [""]
+  image: docker.io/bitnami/git:2.42.0
   variables:
+    FLYCTL_VERSION: 0.1.104
     FLY_API_TOKEN: $PRODUCTION_FLY_API_TOKEN
   rules: !reference [.upstream-deploy-production-rules, rules]
-  script: "/flyctl deploy --remote-only"
+  before_script:
+    - curl -L https://fly.io/install.sh | sh -s $FLYCTL_VERSION
+  script:
+    - /root/.fly/bin/flyctl deploy --remote-only
   environment:
     name: production
     url: https://sitodo-pmpl.fly.dev