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:
2022-01-05 22:30:15 +00:00
VERSION: 0.1.3
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:
2022-01-05 21:20:30 +00:00
- 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