fix drone tag var
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Quentin Ferrand 2022-04-28 20:16:09 +02:00
parent 337abc3db1
commit dc067d4428

View file

@ -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