harness-drone/docker/manifest.controller.tmpl

38 lines
1 KiB
Cheetah
Raw Normal View History

2019-02-20 06:42:10 +00:00
image: drone/controller:{{#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-02-20 06:42:10 +00:00
image: drone/controller:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
2019-02-19 23:56:41 +00:00
platform:
architecture: amd64
os: linux
-
2019-02-20 06:42:10 +00:00
image: drone/controller:{{#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-02-20 06:42:10 +00:00
image: drone/controller:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
2019-02-19 23:56:41 +00:00
platform:
architecture: arm
os: linux
variant: v7
-
image: drone/controller:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1803-amd64
2019-02-19 23:56:41 +00:00
platform:
architecture: amd64
os: windows
variant: 1803
-
image: drone/controller:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1809-amd64
platform:
architecture: amd64
os: windows
variant: 1809