Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Outillage
prezbuilder
Commits
6be7fbdb
Commit
6be7fbdb
authored
May 04, 2020
by
Guillaume Perréal
Browse files
Corrige .gitlab-ci-yml.
parent
43eef28b
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6be7fbdb
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment