--- kind: secret name: local_username get: path: local name: username --- kind: secret name: local_password get: path: local name: password --- kind: pipeline type: kubernetes name: build steps: - name: publish image: plugins/kaniko settings: build_args: - VERSION=2.8.1 repo: r.ocj.io/network/healthchecks registry: r.ocj.io username: from_secret: local_username password: from_secret: local_password tags: - "latest" - "${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:8}" - name: notify image: plugins/webhook settings: urls: - http://receiver.flux-system.svc/hook/edb4b3e16a177e035bc595a5be33c3b04b51145c7d802bddf05f27486e1dbd4d