drone-docker/docker/heroku/manifest.tmpl

26 lines
662 B
Go HTML Template
Raw Normal View History

2019-02-25 22:19:42 +01:00
image: plugins/heroku:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
2019-01-20 22:21:24 +01:00
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
{{/if}}
manifests:
-
2019-02-25 22:19:42 +01:00
image: plugins/heroku:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
2019-01-20 22:21:24 +01:00
platform:
architecture: amd64
os: linux
-
2019-02-25 22:19:42 +01:00
image: plugins/heroku:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
2019-01-20 22:21:24 +01:00
platform:
architecture: arm64
os: linux
variant: v8
-
2019-02-25 22:19:42 +01:00
image: plugins/heroku:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
2019-01-20 22:21:24 +01:00
platform:
architecture: arm
os: linux
variant: v7