Commit ce07f9c2 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 7ae450a6
No related merge requests found
Pipeline #10767 failed
Showing with 5 additions and 5 deletions
+5 -5
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# This template uses one generic job with conditional builds # This template uses one generic job with conditional builds
# for the default branch and all other (MR) branches. # for the default branch and all other (MR) branches.
stages: stastages:
- build - build
- deploy - deploy
...@@ -50,7 +50,7 @@ build: ...@@ -50,7 +50,7 @@ build:
image: docker:20.10.16 image: docker:20.10.16
services: services:
- name: docker:20.10.16-dind - name: docker:20.10.16-dind
command: ["--host=tcp://0.0.0.0:2375", "--tls=false", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume"] command: [ "--host=tcp://0.0.0.0:2375", "--tls=false", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume" ]
script: script:
- docker info - docker info
- docker buildx create --use - docker buildx create --use
...@@ -64,7 +64,7 @@ deploy: ...@@ -64,7 +64,7 @@ deploy:
image: docker:20.10.16 image: docker:20.10.16
services: services:
- name: docker:20.10.16-dind - name: docker:20.10.16-dind
command: ["--tls=false", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume"] command: [ "--tls=false", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume" ]
script: script:
- docker pull 22baar1mst/asyst-nlp-grader:latest - docker pull 22baar1mst/asyst-nlp-grader:latest
- docker run -d 22baar1mst/asyst-nlp-grader:latest - docker run -d 22baar1mst/asyst-nlp-grader:latest
......
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