Commit 162dc1f3 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 9ac0e0bb
......@@ -27,16 +27,15 @@ variables:
build:
image: docker:latest
stage: build
services:
- docker:dind
- name: docker:dind
command: ["--tls=false", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume"]
script:
- echo "Building the Flask project"
- docker build -t $DOCKER_REPO:flask .
containerize:
image: docker:latest
stage: containerize
services:
- docker:dind
script:
......@@ -45,8 +44,7 @@ containerize:
- docker push $DOCKER_REPO:flask
deploy:
image: docker:latest
stage: deploy
image: docker:dind
services:
- docker:dind
script:
......
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