Commit 1c98a1b5 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Corrige le job de build de l'image Docker.

No related merge requests found
Showing with 2 additions and 4 deletions
+2 -4
......@@ -32,10 +32,8 @@ docker-image:
PREZBUILDER_IMAGE: "${CI_REGISTRY_IMAGE}"
PREZBUILDER_TAG: "${CI_COMMIT_REF_NAME}"
script:
- set -x
- docker pull "${IMAGE}" || exit 0
- docker build --cache-from "${IMAGE}" --tag "${IMAGE}" .
- bash -x bin/prezbuilder-docker build src public
- docker build --tag "${IMAGE}" .
- bin/prezbuilder-docker build src public
- "[ -e public/index.html ]"
- docker push "${IMAGE}"
......
Supports Markdown
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