Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KNIGHT
Asyst Moodle Plugin
Commits
92d9ba9c
Commit
92d9ba9c
authored
Jan 03, 2025
by
Artem Baranovskyi
Browse files
Image build is optimized.
parent
bdd84d73
Pipeline
#10678
failed with stages
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
92d9ba9c
...
@@ -22,7 +22,7 @@ variables:
...
@@ -22,7 +22,7 @@ variables:
build
:
build
:
stage
:
build
stage
:
build
image
:
docker:
latest
image
:
docker:
dind:20.10.21
services
:
services
:
-
name
:
docker:dind:20.10.21
-
name
:
docker:dind:20.10.21
command
:
[
"
--tls=false"
,
"
--storage-driver=overlay2"
,
"
--mtu=1500"
,
"
--data-root=/mnt/volume"
]
command
:
[
"
--tls=false"
,
"
--storage-driver=overlay2"
,
"
--mtu=1500"
,
"
--data-root=/mnt/volume"
]
...
@@ -36,7 +36,7 @@ build:
...
@@ -36,7 +36,7 @@ build:
-
docker system prune -a -f
-
docker system prune -a -f
-
docker volume prune -f
-
docker volume prune -f
script
:
script
:
-
docker build --no-cache --progress=plain -t flask-backend-full -f flask_ml_api/Dockerfile .
-
docker build
--cache-from=flask-backend-full
--no-cache --progress=plain -t flask-backend-full -f flask_ml_api/Dockerfile .
cache
:
cache
:
key
:
build-cache
key
:
build-cache
paths
:
paths
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment