refactor(CI): reformat build command
This commit is contained in:
parent
7fc0e8f002
commit
49db5035d8
1 changed files with 5 additions and 2 deletions
|
@ -17,8 +17,11 @@ before_script:
|
||||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
- source environment
|
- source environment
|
||||||
- docker pull "$CI_REGISTRY_IMAGE" || true
|
- docker pull "$CI_REGISTRY_IMAGE" || true
|
||||||
- |
|
- >
|
||||||
docker build --ulimit nofile=9000 --cache-from "$CI_REGISTRY_IMAGE" --pull
|
docker build
|
||||||
|
--ulimit nofile=9000
|
||||||
|
--cache-from "$CI_REGISTRY_IMAGE"
|
||||||
|
--pull
|
||||||
--build-arg "BASE=$BASE"
|
--build-arg "BASE=$BASE"
|
||||||
--build-arg "LDAP_PLUGIN_URL=$LDAP_PLUGIN_URL"
|
--build-arg "LDAP_PLUGIN_URL=$LDAP_PLUGIN_URL"
|
||||||
--build-arg login_text="${LOGIN_TEXT}"
|
--build-arg login_text="${LOGIN_TEXT}"
|
||||||
|
|
Loading…
Reference in a new issue