2023-04-24 23:43:19 +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}}nightly{{/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)}}
|
2023-06-24 03:52:24 +08:00
|
|
|
{{#unless (contains "-dev" 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}}
|
2023-06-24 03:52:24 +08:00
|
|
|
{{/unless}}
|
2019-07-25 01:21:12 +08:00
|
|
|
{{/if}}
|
|
|
|
manifests:
|
|
|
|
-
|
2023-04-24 23:43:19 +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}}nightly{{/if}}-linux-amd64
|
2019-07-25 01:21:12 +08:00
|
|
|
platform:
|
|
|
|
architecture: amd64
|
|
|
|
os: linux
|
|
|
|
-
|
2023-04-24 23:43:19 +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}}nightly{{/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
|