2021-03-27 06:47:21 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
2021-03-27 07:24:17 +00:00
|
|
|
variables:
|
2022-01-15 06:06:12 +00:00
|
|
|
VERSION: 0.1.7
|
2021-03-27 07:24:17 +00:00
|
|
|
|
2021-03-27 06:47:21 +00:00
|
|
|
build-go:
|
2022-01-05 09:32:20 +00:00
|
|
|
image: golang:1.17
|
2021-03-27 06:47:21 +00:00
|
|
|
stage: build
|
2021-03-31 08:40:20 +00:00
|
|
|
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
|