mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 05:32:18 +00:00
Bundle
This commit is contained in:
parent
e4cabfadb1
commit
dc1a2df968
1 changed files with 13 additions and 2 deletions
|
@ -2,6 +2,9 @@ stages:
|
||||||
- build
|
- build
|
||||||
- bundle
|
- bundle
|
||||||
|
|
||||||
|
variables:
|
||||||
|
VERSION: 0.0.1
|
||||||
|
|
||||||
build-go:
|
build-go:
|
||||||
image: golang:1.16.2
|
image: golang:1.16.2
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -31,9 +34,17 @@ build-react:
|
||||||
- .env.example
|
- .env.example
|
||||||
|
|
||||||
bundle:
|
bundle:
|
||||||
image: idk
|
image: bash:latest
|
||||||
stage: bundle
|
stage: bundle
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
|
before_script:
|
||||||
|
- apk add --no-cache zip tar
|
||||||
script:
|
script:
|
||||||
- ls -lah
|
- zip -r goscrobble.zip web goscrobble migrations init .env.example
|
||||||
|
- tar -czf goscrobble.tar.gz web goscrobble migrations init .env.example
|
||||||
|
artifacts:
|
||||||
|
expire_in: 6 months
|
||||||
|
paths:
|
||||||
|
- goscrobble.${VERSION}.zip
|
||||||
|
- goscrobble.${VERSION}.tar.gz
|
Loading…
Add table
Add a link
Reference in a new issue