try to fix tags
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2019-07-22 12:50:46 +02:00
parent 7da5274e2f
commit a3229ea864

View File

@ -2,17 +2,14 @@ image: xoxys/kanboard:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}lates
{{#if build.tags}}
tags:
{{#each build.tags}}
{{#if this}}- {{trimPrefix "v" this}}{{/if}}
{{#if this}}
- {{trimPrefix "v" this}}
- {{trimPrefix "v" this}}-linux-amd64
{{/if}}
{{/each}}
{{/if}}
manifests:
- image: xoxys/kanboard:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
{{#if build.tags}}
tags:
{{#each build.tags}}
{{#if this}}- {{trimPrefix "v" this}}{{/if}}
{{/each}}
{{/if}}
platform:
architecture: amd64
os: linux