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}}-rootless
|
2020-10-31 19:58:22 -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)}}
|
2020-10-31 19:58:22 -05:00
|
|
|
tags:
|
|
|
|
{{#each build.tags}}
|
2020-11-02 13:50:13 -06:00
|
|
|
- {{this}}-rootless
|
2020-10-31 19:58:22 -05:00
|
|
|
{{/each}}
|
2021-07-14 12:08:43 -05:00
|
|
|
- "latest-rootless"
|
2023-02-19 08:24:08 -06:00
|
|
|
{{/unless}}
|
2023-06-23 14:52:24 -05:00
|
|
|
{{/unless}}
|
2020-10-31 19:58:22 -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-rootless
|
2020-10-31 19:58:22 -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-rootless
|
2020-10-31 19:58:22 -05:00
|
|
|
platform:
|
|
|
|
architecture: arm64
|
|
|
|
os: linux
|
|
|
|
variant: v8
|