2022-02-04 05:44:51 +08:00
|
|
|
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{#if (hasPrefix "refs/heads/release/v" build.ref)}}{{trimPrefix "refs/heads/release/v" build.ref}}-{{/if}}dev{{/if}}
|
2019-07-25 01:21:12 +08:00
|
|
|
{{#if build.tags}}
|
2023-02-23 06:33:31 +08:00
|
|
|
{{#unless (contains "-rc" build.tag)}}
|
2019-07-25 01:21:12 +08:00
|
|
|
tags:
|
|
|
|
{{#each build.tags}}
|
|
|
|
- {{this}}
|
|
|
|
{{/each}}
|
2021-07-15 01:08:43 +08:00
|
|
|
- "latest"
|
2023-02-19 22:24:08 +08:00
|
|
|
{{/unless}}
|
2019-07-25 01:21:12 +08:00
|
|
|
{{/if}}
|
|
|
|
manifests:
|
|
|
|
-
|
2022-02-04 05:44:51 +08:00
|
|
|
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{#if (hasPrefix "refs/heads/release/v" build.ref)}}{{trimPrefix "refs/heads/release/v" build.ref}}-{{/if}}dev{{/if}}-linux-amd64
|
2019-07-25 01:21:12 +08:00
|
|
|
platform:
|
|
|
|
architecture: amd64
|
|
|
|
os: linux
|
|
|
|
-
|
2022-02-04 05:44:51 +08:00
|
|
|
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{#if (hasPrefix "refs/heads/release/v" build.ref)}}{{trimPrefix "refs/heads/release/v" build.ref}}-{{/if}}dev{{/if}}-linux-arm64
|
2019-07-25 01:21:12 +08:00
|
|
|
platform:
|
|
|
|
architecture: arm64
|
|
|
|
os: linux
|
2022-02-03 16:47:27 +08:00
|
|
|
variant: v8
|