drone-docker-buildx/docker/gcr/manifest.tmpl

38 lines
992 B
Cheetah
Raw Normal View History

2019-02-25 21:19:42 +00:00
image: plugins/gcr:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
2019-01-20 21:21:24 +00:00
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
{{/if}}
manifests:
-
2019-02-25 21:19:42 +00:00
image: plugins/gcr:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
2019-01-20 21:21:24 +00:00
platform:
architecture: amd64
os: linux
-
2019-02-25 21:19:42 +00:00
image: plugins/gcr:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
2019-01-20 21:21:24 +00:00
platform:
architecture: arm64
os: linux
variant: v8
-
2019-02-25 21:19:42 +00:00
image: plugins/gcr:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
2019-01-20 21:21:24 +00:00
platform:
architecture: arm
os: linux
variant: v7
2019-01-25 02:48:22 +00:00
-
2019-02-25 21:19:42 +00:00
image: plugins/gcr:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1803
2019-01-25 02:48:22 +00:00
platform:
architecture: amd64
os: windows
version: 1803
-
2019-02-25 21:19:42 +00:00
image: plugins/gcr:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1809
2019-01-25 02:48:22 +00:00
platform:
architecture: amd64
os: windows
version: 1809