github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/harness/downgrader/testdata/example-17.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/kaniko-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 dockerfile: DockerFile 33 context: context 34 target: target 35 custom_labels: latest=asd 36 build_args: 37 - GITHUB_ACCESS_TOKEN=token,GITHUB_ACCESS_TOKEN2=token2 38 - GITHUB_ACCESS_TOKEN3=token3,GITHUB_ACCESS_TOKEN4=token4 39 type: plugin 40 when: 41 - event: 42 in: 43 - push 44 - tag 45 type: ci