diff --git a/docker/manifest.rootless.tmpl b/docker/manifest.rootless.tmpl index 46a397c828d89..ef48dd1684b0a 100644 --- a/docker/manifest.rootless.tmpl +++ b/docker/manifest.rootless.tmpl @@ -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 diff --git a/docker/manifest.tmpl b/docker/manifest.tmpl index b4ba5a76ed4aa..018d87e9796b0 100644 --- a/docker/manifest.tmpl +++ b/docker/manifest.tmpl @@ -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}}