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