2023-01-05 18:01:53 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: Tests
|
|
|
|
|
|
|
|
steps:
|
2023-02-02 19:20:43 +00:00
|
|
|
- name: Go tests
|
2023-01-05 18:01:53 +00:00
|
|
|
image: golang
|
|
|
|
commands:
|
2023-02-02 19:20:43 +00:00
|
|
|
- make -C tracker test
|
|
|
|
|
|
|
|
- name: Go build
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- make -C tracker build
|
|
|
|
|
|
|
|
- name: Docker build
|
|
|
|
image: thegeeklab/drone-docker-buildx
|
|
|
|
privileged: true
|
|
|
|
settings:
|
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/arm64
|
2023-01-05 18:01:53 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|