Commit 6387c462 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 278bb330
No related merge requests found
Pipeline #10899 failed with stages
in 56 seconds
Showing with 1 addition and 1 deletion
+1 -1
...@@ -43,7 +43,7 @@ build: ...@@ -43,7 +43,7 @@ build:
- docker volume prune -f - docker volume prune -f
script: script:
# - docker build --cache-from=asyst-nlp-grader --no-cache --progress=plain -t asyst-nlp-grader -f flask_ml_api/Dockerfile . # - docker build --cache-from=asyst-nlp-grader --no-cache --progress=plain -t asyst-nlp-grader -f flask_ml_api/Dockerfile .
- docker buildx build --cache-from=type=registry,ref=22baar1mst/asyst-nlp-grader --no-cache --progress=plain -t 22baar1mst/asyst-nlp-grader:latest -f flask_ml_api/Dockerfile --push . # - docker buildx build --cache-from=type=registry,ref=22baar1mst/asyst-nlp-grader --no-cache --progress=plain -t 22baar1mst/asyst-nlp-grader:latest -f flask_ml_api/Dockerfile --push .
- docker push 22baar1mst/asyst-nlp-grader:latest - docker push 22baar1mst/asyst-nlp-grader:latest
cache: cache:
key: build-cache key: build-cache
......
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