Commit 0dda9f3c authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files
parents 6b5ec678 923f6a57
Pipeline #10576 failed with stage
in 7 minutes and 4 seconds
...@@ -14,21 +14,18 @@ stages: ...@@ -14,21 +14,18 @@ stages:
- build - build
variables: variables:
DOCKER_BUILDKIT: 1 # Включаем BuildKit для оптимизации DOCKER_BUILDKIT: 1
build: build:
stage: build stage: build
image: docker:24 # Обновлённый Docker для улучшений image: docker:24
services: services:
- docker:24-dind - docker:24-dind
before_script:
- export DOCKER_TMPDIR=/mnt/volume
script: script:
- docker build --no-cache --pull --progress=plain -t flask-backend flask_ml_api - docker build --no-cache --pull --progress=plain -t flask-backend flask_ml_api
before_script:
- export DOCKER_TMPDIR=/builds/tmp # Указываем временный каталог для Docker
cache: cache:
key: build-cache key: build-cache
paths: paths:
- /builds/tmp # Кэшируем временные файлы - /mnt/volume # Кэшируем временные файлы
Supports Markdown
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