This repository has been archived on 2024-04-27. You can view files and clone it, but cannot push or open issues or pull requests.
scrabblego/.drone.yml

30 lines
532 B
YAML
Raw Permalink Normal View History

2019-10-10 12:36:44 +00:00
kind: pipeline
name: default
steps:
- name: test
2019-10-10 12:37:36 +00:00
image: golang
2019-10-10 12:36:44 +00:00
commands:
- CGO_ENABLED=0 go test -v ./...
volumes:
- name: gopath
path: /go
2019-10-10 12:45:27 +00:00
- name: publish
image: plugins/docker
settings:
auto_tag: true
registry:
from_secret: docker_registry
repo:
from_secret: docker_repo
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- tag
branch: master