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
a9061115
Commit
a9061115
authored
May 11, 2020
by
Guillaume Perréal
Browse files
Génère les pages directement l'image Docker.
parent
2836eadb
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a9061115
...
...
@@ -38,15 +38,11 @@ docker:
pages
:
stage
:
deploy
t
ag
s
:
[
dind
]
im
ag
e
:
"
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
variables
:
IMAGE
:
"
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script
:
-
docker run --rm -v "$PWD/src:/src:ro" -v "$PWD/public:/public" "$IMAGE"
build
-
build
artifacts
:
name
:
pages
paths
:
...
...
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