From a92b71b3065f86171b2bef2d4eb4485eabe15576 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 22 Feb 2020 16:25:05 +0100 Subject: [PATCH] fix manifest --- manifest.tmpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/manifest.tmpl b/manifest.tmpl index faf2b86..9c92f35 100644 --- a/manifest.tmpl +++ b/manifest.tmpl @@ -1,12 +1,15 @@ -image: xoxys/nginx:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} +image: xoxys/alpine:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} {{#if build.tags}} tags: {{#each build.tags}} - - {{this}} + {{#if this}} + - {{trimPrefix "v" this}} + - {{trimPrefix "v" this}}-amd64 + {{/if}} {{/each}} {{/if}} manifests: - - image: xoxys/nginx:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64 + - image: xoxys/alpine:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64 platform: architecture: amd64 os: linux