fix ci: install clojure

This commit is contained in:
Michael Jerger 2024-12-27 10:05:09 +01:00
parent b415956a35
commit 33e869a44c

View file

@ -5,7 +5,7 @@ stages:
- image
.img: &img
image: "domaindrivenarchitecture/ddadevops-dind:4.13.0"
image: "domaindrivenarchitecture/ddadevops-dind:4.13.1"
services:
- docker:dind
before_script:
@ -15,13 +15,17 @@ stages:
- export IMAGE_TAG=$CI_COMMIT_TAG
.clj-job: &clj
image: "domaindrivenarchitecture/ddadevops-clj:4.13.0"
image: "domaindrivenarchitecture/ddadevops-clj:4.13.1"
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- .m2
before_script:
- export RELEASE_ARTIFACT_TOKEN=$MEISSA_REPO_BUERO_RW
- cd /tmp
- curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh
- chmod +x linux-install.sh
- /tmp/linux-install.sh
- mkdir -p /root/.lein
- echo "{:auth {:repository-auth {#\"clojars\" {:username \"${CLOJARS_USER}\" :password \"${CLOJARS_TOKEN_DOMAINDRIVENARCHITECTURE}\" }}}}" > ~/.lein/profiles.clj