--- 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=1.23.1 repo: r.ocj.io/network/healthchecks registry: r.ocj.io username: from_secret: local_username password: from_secret: local_password tags: - "latest" - "latest-${DRONE_BUILD_NUMBER}" - "1.23.1-${DRONE_BUILD_NUMBER}"