CI: conditional update of the opam base image

This commit is contained in:
Grégoire Henry 2018-05-09 12:21:38 +02:00
parent 6966240a54
commit 5672508b00

View File

@ -45,7 +45,8 @@ prepare:opam:
<<: *dind_definition <<: *dind_definition
stage: prepare stage: prepare
only: only:
- schedules variables:
- $UPDATE_OPAM
script: script:
- ./scripts/ci/create_docker_image.opam.sh "${opam_image}" - ./scripts/ci/create_docker_image.opam.sh "${opam_image}"
- docker push "${opam_image}:alpine-${alpine_version}_ocaml-${ocaml_version}" - docker push "${opam_image}:alpine-${alpine_version}_ocaml-${ocaml_version}"