--- kind: pipeline type: exec name: ๐Ÿš€ CI platform: os: linux arch: amd64 steps: - name: ๐Ÿ› ๏ธ Build commands: - make build - name: ๐Ÿงช Test commands: - make test trigger: branch: - main event: - tag - push - pull_request --- kind: pipeline name: ๐Ÿณ Docker steps: - name: ๐Ÿ“ฆ Image image: plugins/kaniko settings: repo: prologic/zs tags: latest build_args: - VERSION=latest - COMMIT=${DRONE_COMMIT_SHA:0:8} username: from_secret: dockerhub_username password: from_secret: dockerhub_password when: branch: - main event: - push depends_on: - ๐Ÿš€ CI trigger: branch: - main event: - push --- kind: pipeline name: ๐Ÿฅณ Done steps: - name: ๐Ÿ”” Notify image: plugins/webhook settings: urls: - https://msgbus.mills.io/ci.mills.io depends_on: - ๐Ÿš€ CI - ๐Ÿณ Docker trigger: branch: - main event: - tag - push - pull_request