Add gitlab CI file for autobuilds

This commit is contained in:
Daniel Mason 2022-01-16 16:28:49 +13:00
parent b8a2562b12
commit 281c5239eb

17
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,17 @@
stages:
- build
variables:
VERSION: 0.1.3
build-go:
image: golang:1.17
stage: build
only:
- master
script:
- go build -o nzcovidbot cmd/nzcovidbot/*.go
artifacts:
expire_in: 1 month
paths:
- nzcovidbot