certbot-docker/manifest.tmpl
Markus Pesch 3a17d3d60c
Some checks failed
continuous-integration/drone/push Build is failing
fix: support arm and tagged versions
2021-09-10 19:43:26 +02:00

20 lines
544 B
Cheetah

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