Commit 17a90836 authored by minhnguyengp1's avatar minhnguyengp1
Browse files

Fix gitlab-ci yml

parent 33ac533d
Pipeline #11743 failed
......@@ -3,7 +3,6 @@ image: docker:latest
services:
- name: docker:20.10.16-dind
command: ["--host=tcp://0.0.0.0:2375", "--host=unix:///var/run/docker.sock"]
privileged: true
variables:
DOCKER_HOST: tcp://docker:2375/
......@@ -29,6 +28,7 @@ build_retrieval:
- docker build --platform linux/amd64 -f retrieval/Dockerfile -t $RETRIEVAL_IMAGE .
tags:
- docker
privileged: true
build_ingestion:
stage: build
......@@ -36,6 +36,7 @@ build_ingestion:
- docker build --platform linux/amd64 -f ingestion/Dockerfile -t $INGESTION_IMAGE .
tags:
- docker
privileged: true
export_images:
stage: export
......@@ -48,6 +49,7 @@ export_images:
- transferbot-ingestion.tar
tags:
- docker
privileged: true
deploy_scp:
stage: deploy
......@@ -62,4 +64,5 @@ deploy_scp:
dependencies:
- export_images
tags:
- docker
\ No newline at end of file
- docker
privileged: true
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