alpine/manifest.tmpl
Robert Kaussow a92b71b306
All checks were successful
continuous-integration/drone/push Build is passing
fix manifest
2020-02-22 16:25:05 +01:00

16 lines
388 B
Cheetah

image: xoxys/alpine:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
{{#if this}}
- {{trimPrefix "v" this}}
- {{trimPrefix "v" this}}-amd64
{{/if}}
{{/each}}
{{/if}}
manifests:
- image: xoxys/alpine:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64
platform:
architecture: amd64
os: linux