Fix how CI is triggered

This commit is contained in:
James Mills 2021-07-20 15:56:32 +10:00
parent 92535e654b
commit 2ccca759ce
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

@ -5,12 +5,6 @@ name: default
steps: steps:
- name: build & run tests - name: build & run tests
image: r.mills.io/prologic/golang-alpine image: r.mills.io/prologic/golang-alpine
volumes:
- name: gomodcache
path: /go/pkg/mod/cache
privileged: true
environment:
GOPROXY: https://goproxy.mills.io
commands: commands:
- make build - make build
- make test - make test
@ -25,7 +19,9 @@ steps:
- success - success
- failure - failure
volumes: trigger:
- name: gomodcache branch:
host: - master
path: /var/lib/cache/go event:
- tag
- pull_request