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