tcp-proxy/.drone.yml
Jay ffb19f42c4
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
fix config
2020-01-15 02:24:44 +00:00

27 lines
528 B
YAML

---
kind: pipeline
name: test and build image
steps:
- name: test code
image: golang:1-alpine
commands:
- apk add --no-cache build-base make
- make test
when:
event:
include:
- push
- name: test and build image
image: plugins/docker
settings:
purge: true
registry: docker.mtfos.xyz
repo: docker.mtfos.xyz/mtfos/tcp-proxy
autotag: true
tags:
- "${DRONE_COMMIT}"
- "${DRONE_TAG}"
when:
ref:
- refs/tags/**