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

Corrige le job de build de l'image Docker.

parent a9b2872c
...@@ -32,10 +32,8 @@ docker-image: ...@@ -32,10 +32,8 @@ docker-image:
PREZBUILDER_IMAGE: "${CI_REGISTRY_IMAGE}" PREZBUILDER_IMAGE: "${CI_REGISTRY_IMAGE}"
PREZBUILDER_TAG: "${CI_COMMIT_REF_NAME}" PREZBUILDER_TAG: "${CI_COMMIT_REF_NAME}"
script: script:
- set -x - docker build --tag "${IMAGE}" .
- docker pull "${IMAGE}" || exit 0 - bin/prezbuilder-docker build src public
- docker build --cache-from "${IMAGE}" --tag "${IMAGE}" .
- bash -x bin/prezbuilder-docker build src public
- "[ -e public/index.html ]" - "[ -e public/index.html ]"
- docker push "${IMAGE}" - docker push "${IMAGE}"
......
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