mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-11 18:14:15 +01:00
63661b246c
(cherry picked from commit 3be10ddc88
)
21 lines
927 B
Handlebars
21 lines
927 B
Handlebars
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
|
|
{{#if build.tags}}
|
|
{{#unless (contains "-rc" build.tag)}}
|
|
tags:
|
|
{{#each build.tags}}
|
|
- {{this}}-rootless
|
|
{{/each}}
|
|
{{/unless}}
|
|
{{/if}}
|
|
manifests:
|
|
-
|
|
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
|
|
platform:
|
|
architecture: amd64
|
|
os: linux
|
|
-
|
|
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
|
|
platform:
|
|
architecture: arm64
|
|
os: linux
|
|
variant: v8
|