1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-29 21:11:25 +01:00
drone-cli/docker/manifest.tmpl
2023-08-11 13:57:20 +01:00

34 lines
914 B
Go HTML Template

image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
{{/if}}
manifests:
-
image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}
platform:
architecture: amd64
os: linux
-
image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}alpine
platform:
architecture: amd64
os: linux
-
image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
platform:
architecture: arm
os: linux
variant: v6
- image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
platform:
architecture: arm64
os: linux
variant: v8
- image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-ppc64le
platform:
architecture: ppc64le
os: linux