Move CI ENV vars and use a recent docker image

When this MR is merged, remove `LIGO_REGISTRY_IMAGE_BASE_NAME` and
`LIGO_REGISTRY_IMAGE` from gitlabs CI settings: https://gitlab.com/ligolang/ligo/-/settings/ci_cd

This will allow CI builds to run in forked repositories.

Use a recent docker/dind image that supports `--cache-from` which will
be put to use in later MRs.
This commit is contained in:
Jev Björsell 2020-02-06 18:43:24 -08:00
parent 8003a9e2b1
commit dfb4c4caa3
No known key found for this signature in database
GPG Key ID: 03F50CB91981EC9E

View File

@ -3,6 +3,7 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
build_binary_script: "./scripts/distribution/generic/build.sh" build_binary_script: "./scripts/distribution/generic/build.sh"
package_binary_script: "./scripts/distribution/generic/package.sh" package_binary_script: "./scripts/distribution/generic/package.sh"
LIGO_REGISTRY_IMAGE_BASE_NAME: "${CI_PROJECT_PATH}/${CI_PROJECT_NAME}"
stages: stages:
- test - test
@ -75,9 +76,9 @@ dont-merge-to-master:
- public - public
.docker: &docker .docker: &docker
image: docker:1.11 image: docker:19
services: services:
- docker:dind - docker:19-dind
.before_script: &before_script .before_script: &before_script