aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorAntoine GIRARD2019-07-24 19:21:12 +0200
committertechknowlogick2019-07-24 13:21:12 -0400
commitd4667a4949729ad73b7dc0c633bd6daca4508073 (patch)
treeafdcf821c18827ca2ef57f7afa794f80ebf1d4e2 /docker
parent635e7b38bd6a43aac442178f04141c1030ecc1cc (diff)
drone/docker: prepare multi-arch release + provide arm64 image (#7571)
* drone/docker: prepare multi-arch release * Add docker-linux-arm64 pipeline * add arm 64 build to manifest * tag dry-run + indent * Fix notify dependency
Diffstat (limited to 'docker')
-rw-r--r--docker/manifest.tmpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/docker/manifest.tmpl b/docker/manifest.tmpl
new file mode 100644
index 000000000..967844962
--- /dev/null
+++ b/docker/manifest.tmpl
@@ -0,0 +1,19 @@
+image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
+{{#if build.tags}}
+tags:
+{{#each build.tags}}
+ - {{this}}
+{{/each}}
+{{/if}}
+manifests:
+ -
+ image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
+ platform:
+ architecture: amd64
+ os: linux
+ -
+ image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
+ platform:
+ architecture: arm64
+ os: linux
+ variant: v8