github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/harness/downgrader/testdata/example-8.yaml (about) 1 options: {} 2 kind: pipeline 3 version: 1 4 spec: 5 stages: 6 - name: default 7 spec: 8 clone: {} 9 runtime: 10 spec: {} 11 type: machine 12 steps: 13 - name: build 14 spec: 15 image: golang:1.16 16 run: |- 17 go build 18 go test 19 type: script 20 - name: publish 21 spec: 22 image: plugins/docker 23 with: 24 password: <+ secrets.getValue("docker_password") > 25 repo: octocat/hello-world 26 tags: 27 - latest 28 - 1 29 - 1.1 30 - 1.1.1 31 username: <+ secrets.getValue("docker_username") > 32 type: plugin 33 when: 34 - event: 35 in: 36 - push 37 - tag 38 type: ci