2023-04-24 10:43:19 -05: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-24 12:21:12 -05:00
|
|
|
{{#if build.tags}}
|
2023-02-22 16:33:31 -06:00
|
|
|
{{#unless (contains "-rc" build.tag)}}
|
2023-06-23 14:52:24 -05:00
|
|
|
{{#unless (contains "-dev" build.tag)}}
|
2019-07-24 12:21:12 -05:00
|
|
|
tags:
|
|
|
|
{{#each build.tags}}
|
|
|
|
- {{this}}
|
|
|
|
{{/each}}
|
2021-07-14 12:08:43 -05:00
|
|
|
- "latest"
|
2023-02-19 08:24:08 -06:00
|
|
|
{{/unless}}
|
2023-06-23 14:52:24 -05:00
|
|
|
{{/unless}}
|
2019-07-24 12:21:12 -05:00
|
|
|
{{/if}}
|
|
|
|
manifests:
|
|
|
|
-
|
2023-04-24 10:43:19 -05: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-24 12:21:12 -05:00
|
|
|
platform:
|
|
|
|
architecture: amd64
|
|
|
|
os: linux
|
|
|
|
-
|
2023-04-24 10:43:19 -05: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-24 12:21:12 -05:00
|
|
|
platform:
|
|
|
|
architecture: arm64
|
|
|
|
os: linux
|
2022-02-03 02:47:27 -06:00
|
|
|
variant: v8
|