diff --git a/bin/deploy-webook b/bin/deploy-webook
new file mode 100755
index 0000000000000000000000000000000000000000..f6e4f4b0c0b47c3c9a2a2413d23b8dab10861c80
--- /dev/null
+++ b/bin/deploy-webook
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+curl -H "Content-Type: application/json" -X POST -d '{"docker_tag":"latest"}' $1
diff --git a/circle.yml b/circle.yml
index 57a78b899beaa844b9dfcaf5d81443859964584c..80fe9f10a6b841f1157fe4fb7fc7b7542cc54540 100644
--- a/circle.yml
+++ b/circle.yml
@@ -28,4 +28,4 @@ deployment:
   master:
     branch: master
     commands:
-      - curl -H "Content-Type: application/json" -X POST -d '{"docker_tag":"latest"}' $DEPLOY_WEBHOOK
+      - ./bin/deploy-webhook $DEPLOY_WEBHOOK