1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-23 23:35:21 -07:00
This commit is contained in:
Neale Pickett 2021-10-18 18:59:15 -06:00
parent 4dbeaac0bf
commit ec9b2e2772

View file

@ -3,17 +3,18 @@ stages:
- push
test:
stage: test
image: golang:1.17
only:
refs:
- main
- merge_requests
stage: test
script:
- go test ./...
push:
stage: push
image: docker:20
rules:
- if: $CI_COMMIT_TAG
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'