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