summaryrefslogtreecommitdiffstats
path: root/docker/manifest.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'docker/manifest.tmpl')
-rw-r--r--docker/manifest.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/manifest.tmpl b/docker/manifest.tmpl
index 18847064f6..08ccf61b57 100644
--- a/docker/manifest.tmpl
+++ b/docker/manifest.tmpl
@@ -1,12 +1,14 @@
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}}
{{#if build.tags}}
{{#unless (contains "-rc" build.tag)}}
+{{#unless (contains "-dev" build.tag)}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
- "latest"
{{/unless}}
+{{/unless}}
{{/if}}
manifests:
-