kind: pipeline
type: docker
name: build
steps:
- name: test
image: fat0troll/tdlib-golangci
commands:
- go test -test.v -cover `go list ./... | grep -v examples | grep -v internal`
environment:
GOFLAGS: -mod=vendor
- name: lint
- golangci-lint -v run
- name: build
image: plugins/docker
settings:
username:
from_secret: registry_user
password:
from_secret: registry_password
repo: fat0troll/fwzookeeper_helper
auto_tag: true