Commit d8cc1845 authored by m4xw's avatar m4xw
Browse files

Liberate all CPU Cores

parent 34f8cad4
Pipeline #9685 passed with stage
in 162 minutes and 46 seconds
......@@ -7,9 +7,9 @@ docker-build-master:
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" --build-arg NUMPROC=$(($(nproc)/5)) .
- docker build --pull -t "$CI_REGISTRY_IMAGE" --build-arg NUMPROC=$(nproc) .
- docker push "$CI_REGISTRY_IMAGE"
- docker build --pull -t "$CI_REGISTRY_IMAGE:gcc10" --build-arg NUMPROC=$(($(nproc)/5)) --file Dockerfile.gcc10 .
- docker build --pull -t "$CI_REGISTRY_IMAGE:gcc10" --build-arg NUMPROC=$(nproc) --file Dockerfile.gcc10 .
- docker push "$CI_REGISTRY_IMAGE:gcc10"
only:
- master
......@@ -23,9 +23,9 @@ docker-build:
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" --build-arg NUMPROC=$(($(nproc)/5)) .
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" --build-arg NUMPROC=$(nproc) .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-gcc10" --build-arg NUMPROC=$(($(nproc)/5)) --file Dockerfile.gcc10 .
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-gcc10" --build-arg NUMPROC=$(nproc) --file Dockerfile.gcc10 .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-gcc10"
except:
- 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