network-tools/manifest.tmpl
Markus Pesch ddf966b6ec
All checks were successful
continuous-integration/drone/push Build is passing
fix: add build pipeline for tagged images
2021-09-10 19:22:33 +02:00

20 lines
562 B
Cheetah

image: volkerraschek/network-tools:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
- "latest"
{{/if}}
manifests:
-
image: volkerraschek/network-tools:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
platform:
architecture: amd64
os: linux
-
image: volkerraschek/network-tools:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-armv7
platform:
architecture: arm
os: linux
variant: v7