Skip to content

Commit ab2298b

Browse files
committed
Merge pull request #152 from smeruelo/drone-k8s
2 parents f3a3d84 + 77e3f57 commit ab2298b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.drone.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ pipeline:
3939
registry: quay.io
4040
repo: quay.io/srcd/blog
4141
secrets: [ docker_username, docker_password ]
42-
tag: '${DRONE_COMMIT_SHA:0:7}'
42+
# workaround for bug https://github.com/kubernetes/helm/issues/1707
43+
tag: 'commit-${DRONE_COMMIT_SHA:0:7}'
4344
file: Dockerfile
4445
when:
4546
event: push
@@ -52,7 +53,7 @@ pipeline:
5253
release: blog
5354
prefix: STG
5455
secrets: [ STG_API_SERVER, STG_KUBERNETES_TOKEN ]
55-
values: ingress.globalStaticIpName=blog-staging,ingress.hostname=blog-staging.srcd.run,image.tag=${DRONE_COMMIT_SHA:0:7}
56+
values: ingress.globalStaticIpName=blog-staging,ingress.hostname=blog-staging.srcd.run,image.tag=commit-${DRONE_COMMIT_SHA:0:7}
5657
tiller_ns: kube-system
5758
wait: true
5859
when:

0 commit comments

Comments
 (0)