From dc067d4428cad98289cbff3a1a04254578637a09 Mon Sep 17 00:00:00 2001 From: Quentin Ferrand Date: Thu, 28 Apr 2022 20:16:09 +0200 Subject: [PATCH] fix drone tag var --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6b1985d..c7d9e0c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,7 +33,7 @@ steps: password: from_secret: docker_password repo: takaoni/tenkan - tags: ${'DRONE_COMMIT_SHA':0:8} + tags: ["${DRONE_COMMIT_SHA:0:7}", "latest"] dockerfile: docker/Dockerfile when: branch: @@ -49,7 +49,7 @@ steps: kubernetes_token: from_secret: kube_token commands: - - kubectl set image deployment/tenkan fqserv=takaoni/tenkan:${'DRONE_COMMIT_SHA':0:8} -n gemini + - kubectl set image deployment/tenkan fqserv=takaoni/tenkan:"${DRONE_COMMIT_SHA:0:8}" -n gemini when: branch: - master