harness-drone/docker/manifest.agent.tmpl

43 lines
1.2 KiB
Cheetah
Raw Permalink Normal View History

2019-08-22 20:21:17 +00:00
image: drone/agent:{{#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/agent:{{#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/agent:{{#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/agent:{{#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
-
2019-08-22 20:21:17 +00:00
image: drone/agent:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1803-amd64
platform:
architecture: amd64
os: windows
variant: 1803
-
2019-08-22 20:21:17 +00:00
image: drone/agent:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1809-amd64
2019-02-19 23:56:41 +00:00
platform:
architecture: amd64
os: windows
2019-08-07 05:47:04 +00:00
variant: 1809
-
2019-08-22 20:21:17 +00:00
image: drone/agent:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1903-amd64
2019-08-07 05:47:04 +00:00
platform:
architecture: amd64
os: windows
variant: 1903