mirror of
https://github.com/idanoo/NZCovidBot
synced 2025-07-01 19:22:14 +00:00
Add gitlab CI file for autobuilds
This commit is contained in:
parent
b8a2562b12
commit
281c5239eb
1 changed files with 17 additions and 0 deletions
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue