kind: pipeline type: kubernetes name: default steps: - name: test image: golang environment: GO111MODULE: on commands: - echo $GO111MODULE - go test ./... -v -cover - name: build image: golang environment: GO111MODULE: on commands: - go build - name: docker image: plugins/docker settings: auto_tag: true build_args_from_env: - DRONE_COMMIT - DRONE_TAG username: from_secret: username password: from_secret: password repo: registry.ramonr.ch/mediaconverter registry: registry.ramonr.ch when: event: tag --- kind: secret name: username get: path: registry-basicauth name: user --- kind: secret name: password get: path: registry-basicauth name: password