harness-drone/docker/manifest.server.tmpl

26 lines
650 B
Cheetah
Raw Permalink Normal View History

2019-08-22 20:21:17 +00:00
image: drone/drone:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
2019-02-19 23:56:41 +00:00
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
{{/if}}
manifests:
-
2019-08-22 20:21:17 +00:00
image: drone/drone:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
2019-02-19 23:56:41 +00:00
platform:
architecture: amd64
os: linux
-
2019-08-22 20:21:17 +00:00
image: drone/drone:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
2019-02-19 23:56:41 +00:00
platform:
architecture: arm64
os: linux
variant: v8
-
2019-08-22 20:21:17 +00:00
image: drone/drone:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
2019-02-19 23:56:41 +00:00
platform:
architecture: arm
os: linux
2019-02-20 06:42:10 +00:00
variant: v7