mirror of
https://github.com/drone-plugins/drone-pypi.git
synced 2026-06-04 10:15:06 +08:00
20 lines
491 B
Cheetah
20 lines
491 B
Cheetah
image: plugins/pypi:{{#if build.tag}}{{trimPrefix build.tag "v"}}{{else}}latest{{/if}}
|
|
{{#if build.tags}}
|
|
tags:
|
|
{{#each build.tags}}
|
|
- {{this}}
|
|
{{/each}}
|
|
{{/if}}
|
|
manifests:
|
|
-
|
|
image: plugins/pypi:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}linux-amd64
|
|
platform:
|
|
architecture: amd64
|
|
os: linux
|
|
-
|
|
image: plugins/pypi:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}linux-arm64
|
|
platform:
|
|
architecture: arm64
|
|
os: linux
|
|
variant: v8
|