diff --git a/.drone.yml b/.drone.yml
index 8fa562c..0cc0ca2 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -11,7 +11,7 @@ steps:
commands:
- mvn clean install -DskipTests -e -U
- cp ./did-server/target/did-server*.jar ./docker
- - echo -n "$(date -d @${DRONE_BUILD_CREATED} '+%Y%m%d_%H%M%S')_${DRONE_BUILD_NUMBER}, $(grep ".*" pom.xml | head -1 | awk -F '[>,<]' '{print $3})', latest" > .tags
+ - echo -n "$(date -d @${DRONE_BUILD_CREATED} '+%Y%m%d_%H%M%S')_${DRONE_BUILD_NUMBER}, $(grep '.*' pom.xml | head -1 | awk -F '[>,<]' '{print $3}'), latest" > .tags
- name: docker
image: plugins/docker