--- 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