drone-matrix/docker/manifest.tmpl

45 lines
1.3 KiB
Cheetah
Raw Normal View History

2019-02-25 21:20:37 +00:00
image: plugins/matrix:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
2020-11-25 19:44:45 +00:00
2018-01-09 10:22:43 +00:00
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
{{/if}}
2020-11-25 19:44:45 +00:00
2018-01-09 10:22:43 +00:00
manifests:
2020-11-25 19:44:45 +00:00
- image: plugins/matrix:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
2018-01-09 10:22:43 +00:00
platform:
architecture: amd64
os: linux
2020-11-25 19:44:45 +00:00
- image: plugins/matrix:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
2018-01-09 10:22:43 +00:00
platform:
architecture: arm64
os: linux
2019-01-20 21:21:26 +00:00
variant: v8
2020-11-25 19:44:45 +00:00
- image: plugins/matrix:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
2018-01-09 10:22:43 +00:00
platform:
architecture: arm
os: linux
2019-01-20 21:21:26 +00:00
variant: v7
2020-11-25 19:44:45 +00:00
- image: plugins/matrix:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-2004-amd64
2018-01-09 10:22:43 +00:00
platform:
architecture: amd64
os: windows
2020-11-25 19:44:45 +00:00
version: 2004
- image: plugins/matrix:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1909-amd64
platform:
architecture: amd64
os: windows
version: 1909
- image: plugins/matrix:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1903-amd64
platform:
architecture: amd64
os: windows
version: 1903
- image: plugins/matrix:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1809-amd64
platform:
architecture: amd64
os: windows
version: 1809