mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 15:14:24 +00:00
a084e182b0
Should fix the following: > failed to render template: Evaluation error: Helper 'unless' called with wrong number of arguments, needed 2 but got 3 Signed-off-by: jolheiser <john.olheiser@gmail.com>
23 lines
937 B
Handlebars
23 lines
937 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}}dev{{/if}}-rootless
|
|
{{#if build.tags}}
|
|
{{#unless (contains "-rc" build.tag)}}
|
|
tags:
|
|
{{#each build.tags}}
|
|
- {{this}}-rootless
|
|
{{/each}}
|
|
- "latest-rootless"
|
|
{{/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}}dev{{/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}}dev{{/if}}-linux-arm64-rootless
|
|
platform:
|
|
architecture: arm64
|
|
os: linux
|
|
variant: v8
|