This commit is contained in:
parent
337abc3db1
commit
dc067d4428
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: takaoni/tenkan
|
repo: takaoni/tenkan
|
||||||
tags: ${'DRONE_COMMIT_SHA':0:8}
|
tags: ["${DRONE_COMMIT_SHA:0:7}", "latest"]
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
@ -49,7 +49,7 @@ steps:
|
||||||
kubernetes_token:
|
kubernetes_token:
|
||||||
from_secret: kube_token
|
from_secret: kube_token
|
||||||
commands:
|
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:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in a new issue