diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee52e3f..cbe2e96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ # avoids unecessary repulling of node modules cache: paths: - - page-test/node_modules/ + - node_modules/ stages: - lint @@ -34,13 +34,10 @@ linter: build: image: !reference [.docker, image] stage: build - variables: - IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH - CACHING: before_script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY script: - - docker build $CACHING -t $IMAGE_TAG . + - docker build -t $IMAGE_TAG . after_script: - docker save $IMAGE_TAG > docker.tar artifacts: