Skip to content

Commit

Permalink
Helm: Fix issue with numeric tags
Browse files Browse the repository at this point in the history
This is a workaround for bug helm/helm#1707
  • Loading branch information
smeruelo authored and dpordomingo committed Nov 14, 2017
1 parent f3a3d84 commit 77e3f57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .drone.yml
Expand Up @@ -39,7 +39,8 @@ pipeline:
registry: quay.io
repo: quay.io/srcd/blog
secrets: [ docker_username, docker_password ]
tag: '${DRONE_COMMIT_SHA:0:7}'
# workaround for bug https://github.com/kubernetes/helm/issues/1707
tag: 'commit-${DRONE_COMMIT_SHA:0:7}'
file: Dockerfile
when:
event: push
Expand All @@ -52,7 +53,7 @@ pipeline:
release: blog
prefix: STG
secrets: [ STG_API_SERVER, STG_KUBERNETES_TOKEN ]
values: ingress.globalStaticIpName=blog-staging,ingress.hostname=blog-staging.srcd.run,image.tag=${DRONE_COMMIT_SHA:0:7}
values: ingress.globalStaticIpName=blog-staging,ingress.hostname=blog-staging.srcd.run,image.tag=commit-${DRONE_COMMIT_SHA:0:7}
tiller_ns: kube-system
wait: true
when:
Expand Down

0 comments on commit 77e3f57

Please sign in to comment.