--- kind: pipeline name: linux-amd64 platform: os: linux arch: amd64 steps: - name: test image: golang:1.10 commands: - cd posix - tar -xf fixtures.tar -C / - go test -v - image: plugins/docker settings: auto_tag: true auto_tag_suffix: linux-amd64 dockerfile: docker/Dockerfile.linux.amd64 password: $secret: password repo: drone/git username: $secret: username when: event: - push - tag --- kind: pipeline name: linux-arm64 platform: os: linux arch: arm64 steps: - name: test image: golang:1.10 commands: - cd posix - tar -xf fixtures.tar -C / - go test -v - image: plugins/docker:linux-arm64 settings: auto_tag: true auto_tag_suffix: linux-arm64 dockerfile: docker/Dockerfile.linux.arm64 password: $secret: password repo: drone/git username: $secret: username when: event: - push - tag --- kind: pipeline name: linux-arm platform: os: linux arch: arm steps: - name: test image: golang:1.10 commands: - cd posix - tar -xf fixtures.tar -C / - go test -v - image: plugins/docker:linux-arm settings: auto_tag: true auto_tag_suffix: linux-arm dockerfile: docker/Dockerfile.linux.arm password: $secret: password repo: drone/git username: $secret: username when: event: - push - tag --- kind: pipeline name: after platform: os: linux arch: amd64 steps: - name: manifest image: plugins/manifest:1 settings: ignore_missing: true password: $secret: password spec: docker/manifest.tmpl username: $secret: username when: branch: - master event: - push depends_on: - linux-arm - linux-arm64 - linux-amd64 --- kind: secret type: external data: password: "drone/docker#password" username: "drone/docker#username" ...