summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4bc8ba78..df6607e0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,12 +37,10 @@ before_script:
# Enable push and pull for Baserock artifact cache
- |
mkdir -p ~/.config
- cat > ~/.config/buildstream.conf <<EOF
- artifacts:
- pull-url: https://ostree.baserock.org/cache/
- push-url: ostree@ostree.baserock.org:cache
- push-port: 22200
- EOF
+ echo "artifacts:" > ~/.config/buildstream.conf
+ echo " pull-url: https://ostree.baserock.org/cache/" >> ~/.config/buildstream.conf
+ echo " push-url: ostree@ostree.baserock.org:cache" >> ~/.config/buildstream.conf
+ echo " push-port: 22200" >> ~/.config/buildstream.conf
cat ~/.config/buildstream.conf
stages: