fix(dockerfile): pass CI_VERSION_PRE_RELEASE build argument to cmake (#4247)
Co-authored-by: gr0vity <gr0vity.dev@gmail.com>
This commit is contained in:
parent
2e9f5bd1f4
commit
74a9fba6f7
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ FROM ${ENV_REPOSITORY}:${COMPILER}
|
|||
ARG NETWORK=live
|
||||
ARG CI_TAG=DEV_BUILD
|
||||
ARG CI_BUILD=OFF
|
||||
ARG CI_VERSION_PRE_RELEASE=OFF
|
||||
ADD ./ /tmp/src
|
||||
|
||||
WORKDIR /tmp/build
|
||||
|
|
@ -12,6 +13,7 @@ WORKDIR /tmp/build
|
|||
RUN \
|
||||
cmake /tmp/src \
|
||||
-DCI_BUILD=${CI_BUILD} \
|
||||
-DCI_VERSION_PRE_RELEASE=${CI_VERSION_PRE_RELEASE} \
|
||||
-DPORTABLE=1 \
|
||||
-DACTIVE_NETWORK=nano_${NETWORK}_network
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue