GoScrobble/.gitlab-ci.yml

21 lines
291 B
YAML
Raw Normal View History

2021-03-27 06:47:21 +00:00
stages:
- build
2021-03-27 07:24:17 +00:00
variables:
VERSION: 0.1.2
2021-03-27 07:24:17 +00:00
2021-03-27 06:47:21 +00:00
build-go:
image: golang:1.17
2021-03-27 06:47:21 +00:00
stage: build
only:
- master
2021-03-27 06:47:21 +00:00
script:
- go build -o goscrobble cmd/goscrobble/*.go
2021-03-27 06:47:21 +00:00
artifacts:
2021-12-24 23:05:57 +00:00
expire_in: 1 week
2021-03-27 06:47:21 +00:00
paths:
- goscrobble
- migrations
- init
2021-03-27 22:01:58 +00:00
- .env.example