From dc1a2df968c81be3d2fb5baa99b5ebb40353885c Mon Sep 17 00:00:00 2001 From: Daniel Mason Date: Sat, 27 Mar 2021 20:24:17 +1300 Subject: [PATCH] Bundle --- .gitlab-ci.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b8cd61d..f1fdafea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,9 @@ stages: - build - bundle +variables: + VERSION: 0.0.1 + build-go: image: golang:1.16.2 stage: build @@ -31,9 +34,17 @@ build-react: - .env.example bundle: - image: idk + image: bash:latest stage: bundle variables: GIT_STRATEGY: none + before_script: + - apk add --no-cache zip tar script: - - ls -lah \ No newline at end of file + - 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 \ No newline at end of file