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