--- kind: pipeline type: kubernetes name: publish-multiarch-manifest trigger: event: [ promote ] target: [ publish ] steps: - name: publish-manifest image: plugins/manifest settings: registry: https://gitea.internal.example.com username: drone password: from_secret: gitea-internal-password target: gitea.internal.example.com/{{ .input.repo }} template: gitea.internal.example.com/{{ .input.repo }}-OS-ARCH platforms: {{ range .input.platforms }} - {{ .os }}/{{ .arch }} {{ end }} depends_on: {{ range .input.platforms }} - publish-{{ .os }}-{{ .arch }} {{ range .input.platforms }}