2023-04-25 00:43:19 +09: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}}-rootless
|
2020-11-01 09:58:22 +09:00
|
|
|
{{#if build.tags}}
|
2023-02-23 07:33:31 +09:00
|
|
|
{{#unless (contains "-rc" build.tag)}}
|
2023-06-24 04:52:24 +09:00
|
|
|
{{#unless (contains "-dev" build.tag)}}
|
2020-11-01 09:58:22 +09:00
|
|
|
tags:
|
|
|
|
{{#each build.tags}}
|
2020-11-03 04:50:13 +09:00
|
|
|
- {{this}}-rootless
|
2020-11-01 09:58:22 +09:00
|
|
|
{{/each}}
|
2021-07-15 02:08:43 +09:00
|
|
|
- "latest-rootless"
|
2023-02-19 23:24:08 +09:00
|
|
|
{{/unless}}
|
2023-06-24 04:52:24 +09:00
|
|
|
{{/unless}}
|
2020-11-01 09:58:22 +09:00
|
|
|
{{/if}}
|
|
|
|
manifests:
|
|
|
|
-
|
2023-04-25 00:43:19 +09: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-rootless
|
2020-11-01 09:58:22 +09:00
|
|
|
platform:
|
|
|
|
architecture: amd64
|
|
|
|
os: linux
|
|
|
|
-
|
2023-04-25 00:43:19 +09: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-rootless
|
2020-11-01 09:58:22 +09:00
|
|
|
platform:
|
|
|
|
architecture: arm64
|
|
|
|
os: linux
|
|
|
|
variant: v8
|