mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-07 10:49:06 +01:00
e180456983
* Change docker logic * Apply suggestions from code review Co-authored-by: Kyle D. <kdumontnu@gmail.com> * docs Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Kyle D. <kdumontnu@gmail.com>
20 lines
No EOL
521 B
Cheetah
20 lines
No EOL
521 B
Cheetah
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}dev{{/if}}
|
|
{{#if build.tags}}
|
|
tags:
|
|
{{#each build.tags}}
|
|
- {{this}}
|
|
{{/each}}
|
|
- "latest"
|
|
{{/if}}
|
|
manifests:
|
|
-
|
|
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{else}}dev-{{/if}}linux-amd64
|
|
platform:
|
|
architecture: amd64
|
|
os: linux
|
|
-
|
|
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{else}}dev-{{/if}}linux-arm64
|
|
platform:
|
|
architecture: arm64
|
|
os: linux
|
|
variant: v8 |