From ccaf5d01348662ceec43d23429373f16637af7b3 Mon Sep 17 00:00:00 2001 From: dependabot-ci Date: Fri, 11 Aug 2023 13:57:20 +0100 Subject: [PATCH] (fix) add manifest file --- docker/manifest.tmpl | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docker/manifest.tmpl diff --git a/docker/manifest.tmpl b/docker/manifest.tmpl new file mode 100644 index 0000000..ca6f7f0 --- /dev/null +++ b/docker/manifest.tmpl @@ -0,0 +1,33 @@ +image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} +{{#if build.tags}} +tags: +{{#each build.tags}} + - {{this}} +{{/each}} +{{/if}} +manifests: + - + image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}} + platform: + architecture: amd64 + os: linux + - + image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}alpine + platform: + architecture: amd64 + os: linux + - + image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm + platform: + architecture: arm + os: linux + variant: v6 + - image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64 + platform: + architecture: arm64 + os: linux + variant: v8 + - image: drone/cli:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-ppc64le + platform: + architecture: ppc64le + os: linux