Commit f7921727 authored by tobinski's avatar tobinski
Browse files

Use args in ci build

parent 14723cef
Pipeline #6178 failed with stages
in 45 seconds
......@@ -19,7 +19,7 @@ push:
stage: build
script:
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA .
- docker build --pull --build-arg elasticsearch_version=7 -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
# push latest on branch master
......
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