Skip to content

Commit

Permalink
Adjust docker image manifest for changed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
djmaze committed Jun 8, 2020
1 parent 335652d commit 19d1ed2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifest.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix build.tag "v"}}{{else}}latest{{/if}}
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
Expand All @@ -7,17 +7,17 @@ tags:
{{/if}}
manifests:
-
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}amd64
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64
platform:
architecture: amd64
os: linux
-
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}arm
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
platform:
architecture: arm
os: linux
-
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}arm64
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm64
platform:
architecture: arm64
os: linux

0 comments on commit 19d1ed2

Please sign in to comment.