summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-02-03 09:51:01 +0000
committerGitHub <noreply@github.com>2022-02-03 09:51:01 +0000
commit104c547d6158870b2786345eab37963714815268 (patch)
tree3ae2cb2f71411c8acb67425247dcac00ffea9475 /docker
parentbc77b28d9d0e3a0a6bc56f00e0e1bb1ce65dc737 (diff)
downloadgitea-104c547d6158870b2786345eab37963714815268.tar.gz
gitea-104c547d6158870b2786345eab37963714815268.zip
Fix manifest.tmpl (#18573)
A spurious {{/if}} appeared on the manifest.tmpl - this PR simply removes this. Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'docker')
-rw-r--r--docker/manifest.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/manifest.tmpl b/docker/manifest.tmpl
index a4b0d45cbc..2d125c96ca 100644
--- a/docker/manifest.tmpl
+++ b/docker/manifest.tmpl
@@ -1,4 +1,4 @@
-image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{#equal build.ref "refs/heads/main"}}dev{{else}}{{trimPrefix "refs/heads/release/v" build.ref}}-dev{{/equal}}{{/if}}{{/if}}
+image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{#equal build.ref "refs/heads/main"}}dev{{else}}{{trimPrefix "refs/heads/release/v" build.ref}}-dev{{/equal}}{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}