From 33e6b4a4f984b78c02e770b8f196b3b4e3ab88a8 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 10 Jan 2020 15:01:36 -0800 Subject: [PATCH] Move manifest --- .drone.star | 2 +- manifest-client.tml | 25 ------------------------- manifest-server.tmpl | 25 ------------------------- 3 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 manifest-client.tml delete mode 100644 manifest-server.tmpl diff --git a/.drone.star b/.drone.star index 89c9611..b681efc 100644 --- a/.drone.star +++ b/.drone.star @@ -31,7 +31,7 @@ def push_to_docker(ctx, context): "name": "publish manifest", "image": "plugins/manifest", "settings": { - "spec": "manifest-{}.tmpl".format(context), + "spec": "{}/manifest.tmpl".format(context), "auto_tag": True, "ignore_missing": True, "username": { diff --git a/manifest-client.tml b/manifest-client.tml deleted file mode 100644 index 7b53092..0000000 --- a/manifest-client.tml +++ /dev/null @@ -1,25 +0,0 @@ -image: iamthefij/dockamole-client:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} -{{#if build.tags}} -tags: -{{#each build.tags}} - - {{this}} -{{/each}} -{{/if}} -manifests: - - - image: iamthefij/dockamole-client:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64 - platform: - architecture: amd64 - os: linux - - - image: iamthefij/dockamole-client:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64 - platform: - architecture: arm64 - os: linux - variant: v8 - - - image: iamthefij/dockamole-client:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm - platform: - architecture: arm - os: linux - variant: v7 diff --git a/manifest-server.tmpl b/manifest-server.tmpl deleted file mode 100644 index f88118e..0000000 --- a/manifest-server.tmpl +++ /dev/null @@ -1,25 +0,0 @@ -image: iamthefij/dockamole-server:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} -{{#if build.tags}} -tags: -{{#each build.tags}} - - {{this}} -{{/each}} -{{/if}} -manifests: - - - image: iamthefij/dockamole-server:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64 - platform: - architecture: amd64 - os: linux - - - image: iamthefij/dockamole-server:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64 - platform: - architecture: arm64 - os: linux - variant: v8 - - - image: iamthefij/dockamole-server:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm - platform: - architecture: arm - os: linux - variant: v7