Skip to content
Snippets Groups Projects

Draft: Gitlab ci image build

Open Johannes Frenzel requested to merge gitlab-ci-image-build into develop
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -35,7 +35,7 @@ build-job:
- mkdir -p $RUBY_CACHE_DIR
- apk update --cache-dir $APK_CACHE_DIR && apk upgrade --cache-dir $APK_CACHE_DIR && apk add --cache-dir $APK_CACHE_DIR $APK_PACKAGES
- sh hyrax/deploy_info.sh && cat ./hyrax/deploy_info.json
- export DOCKER_IMAGE_TAG="$(git describe --all --always --long --tags | sed -e 's|^heads/||' -e 's|/|_|g')_$(jq -r '.last_deployed' < hyrax/deploy_info.json | sed 's|\+00:00$|UTC|g;s|:|-|g')"
- export DOCKER_IMAGE_TAG="$(git describe --all --always --long --tags | sed -e 's|^heads/||' -e 's|/|_|g')_$(jq -r '.last_deployed' < hyrax/deploy_info.json | sed -E 's|\+00:00$|UTC|g;s|:|-|g')"
- echo $DOCKER_IMAGE_TAG
- cd hyrax && bundle config set --local path $RUBY_CACHE_DIR && bundle install --jobs 4 --retry 3
Loading