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