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>tags/v1.20.0-rc0
@@ -1,6 +1,6 @@ | |||
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}} | |||
{{#unless (contains "-rc" build.tag)}} | |||
tags: | |||
{{#each build.tags}} | |||
- {{this}}-rootless |
@@ -1,6 +1,6 @@ | |||
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}} | |||
{{#if build.tags}} | |||
{{#unless contains "-rc" build.tag }} | |||
{{#unless (contains "-rc" build.tag)}} | |||
tags: | |||
{{#each build.tags}} | |||
- {{this}} |