summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-16 17:51:13 -0600
committermo khan <mo.khan@gmail.com>2020-06-16 17:51:13 -0600
commit0538c601e2eda5e5e081cf23ab205eab29b92ac8 (patch)
tree5d90997fa7be6bb4d699ab13310174bd590fb15c
parentc85accee4b32dac25e18d35f55af04a725b459c5 (diff)
Copy pkg dir to build directory
-rw-r--r--.gitlab-ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 97322fb..51a517e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,8 +3,12 @@ stages:
- release
variables:
+ DOCKER_DRIVER: overlay2
+ GIT_DEPTH: "1"
+ GIT_STRATEGY: fetch
TMP_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
+
build-docker-image:
image: docker:stable
stage: build
@@ -21,7 +25,10 @@ release-deb:
script:
- find /opt/asdf
- find /root/omnibus/pkg/
+ - mv /root/omnibus/pkg .
artifacts:
paths:
- - /root/omnibus/pkg/
+ - pkg/
expire_in: 1 week
+ variables:
+ GIT_STRATEGY: none