dhcpd-docker/manifest.tmpl
Markus Pesch 0f59404dc8
All checks were successful
continuous-integration/drone/push Build is passing
fix: support tagged versions
2021-09-10 20:28:29 +02:00

14 lines
358 B
Cheetah

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