summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-19 20:51:24 -0600
committermo khan <mo.khan@gmail.com>2020-06-19 20:51:24 -0600
commit5dfaf8f34f0d967ee443e40daeb4f7ed043993d3 (patch)
treeac443e2c3e876fe1d53abb8df236d82594855f60 /.gitlab-ci.yml
parent4b1c9d818fec3bf7f4d7eb91fd77dab8794edd05 (diff)
Split mono and ruby jobs
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml22
1 files changed, 13 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 83a738f..92ca96c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,13 @@ variables:
GIT_STRATEGY: fetch
TMP_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
+default:
+ image: $TMP_IMAGE
+ stage: release
+ artifacts:
+ paths:
+ - pkg/
+ expire_in: 1 week
build-docker-image:
image: docker:stable
@@ -24,13 +31,10 @@ build-docker-image:
- docker build -t $TMP_IMAGE .
- docker push $TMP_IMAGE
-release-deb:
- image: $TMP_IMAGE
- stage: release
+ruby-deb:
script:
- - bundle exec omnibus build asdf
- - find /opt/asdf
- artifacts:
- paths:
- - pkg/
- expire_in: 1 week
+ - bundle exec omnibus build asdf-ruby
+
+mono-deb:
+ script:
+ - bundle exec omnibus build asdf-mono