So this seems to be related to this change:
#40
Our configuration looks like:
- image: plugins/manifest
name: manifest-tempo
settings:
password:
from_secret: docker_password
spec: .drone/docker-manifest.tmpl
target: tempo
username:
from_secret: docker_username
and our template looks like:
image: grafana/{{config.target}}
tags:
- latest
- {{build.tags}}
manifests:
- image: grafana/{{config.target}}:{{build.tags}}-amd64
platform:
architecture: amd64
os: linux
- image: grafana/{{config.target}}:{{build.tags}}-arm64
platform:
architecture: arm64
os: linux
in particular this condition is causing our issue:
|
} else if len(args.Platforms) != 0 || args.Target != "" || args.Template != "" { |
is it intentional that we can't provide a target and a template? note that we use the target in our template. is there a better way to do that?