Commit baf24446 authored by Lukáš Lalinský's avatar Lukáš Lalinský

Pass the HBASE_DIR variable

parent 41b5e321
Pipeline #20148 failed with stages
in 12 seconds
......@@ -19,7 +19,11 @@ build build-env image:
script:
- JOB_NAME=($CI_JOB_NAME)
- cd ci/phoenix
- docker build -t ${CI_REGISTRY_IMAGE}/phoenix:${JOB_NAME[2]} --build-arg HBASE_VERSION=$HBASE_VERSION --build-arg PHOENIX_VERSION=$PHOENIX_VERSION .
- docker build -t ${CI_REGISTRY_IMAGE}/phoenix:${JOB_NAME[2]}
--build-arg PHOENIX_VERSION=$PHOENIX_VERSION
--build-arg HBASE_VERSION=$HBASE_VERSION
--build-arg HBASE_DIR=$HBASE_DIR
.
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE/phoenix:${JOB_NAME[2]}
tags:
......
FROM openjdk:8
ARG HBASE_VERSION
ARG HBASE_DIR
ARG PHOENIX_VERSION
ARG PHOENIX_NAME=apache-phoenix
......
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