Commit 6be7fbdb authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Corrige .gitlab-ci-yml.

parent 43eef28b
......@@ -28,7 +28,7 @@ docker:
stage: build
tags: [dind]
variables:
- IMAGE: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
IMAGE: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
script:
- docker build --tag "$IMAGE" .
- docker run --rm "$IMAGE" build
......@@ -40,7 +40,7 @@ pages:
rules:
- if: $CI_COMMIT_BRANCH == "master"
variables:
- IMAGE: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
IMAGE: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
script:
- docker run --rm -v "$PWD/src:/src/ro" -v "$PWD/public:/public" "$IMAGE" build
artifacts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment