diff --git a/.drone.yml b/.drone.yml
index 6aec095cc9dd83ce3ce8af6780bca9e1f7e7e186..14dc0e235f24ef81dbc4b4e523e1635e6de9b4f0 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -27,7 +27,7 @@ steps:
     commands:
       - echo $(python3 /plugin/main.py)
       - python3 /usr/local/src/scan --src ./src -o /home/reports
-        #depends_on: ["build-and-publish-image"]
+    depends_on: ["build-and-publish-image"]
 
   - name: code-analysis
     image: prlab/drone-sonar
@@ -36,7 +36,7 @@ steps:
         from_secret: sonar_host
       SONAR_TOKEN:
         from_secret: sonar_token
-      #depends_on: ["build-and-publish-image"]
+    depends_on: ["build-and-publish-image"]
 
   - name: scp
     image: appleboy/drone-scp