Commit bc3a9095 authored by Guillaume Melquiond's avatar Guillaume Melquiond

Make sure the bench image exists before building the deploy image.

parent a6a76237
......@@ -74,8 +74,9 @@ bench-4.06.0:
deploy:
stage: deploy
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t bench-image -f misc/Dockerfile.init .
- docker build -t deploy-image -f misc/Dockerfile.deploy .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker tag deploy-image $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
only:
......
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