Commit f2bc170f authored by minhnguyengp1's avatar minhnguyengp1
Browse files

Fix gitlab-ci yml

parent 332afed1
Pipeline #11739 failed with stages
in 1 minute and 2 seconds
...@@ -18,11 +18,15 @@ build_retrieval: ...@@ -18,11 +18,15 @@ build_retrieval:
stage: build stage: build
script: script:
- docker build --platform linux/amd64 -f retrieval/Dockerfile -t $RETRIEVAL_IMAGE . - docker build --platform linux/amd64 -f retrieval/Dockerfile -t $RETRIEVAL_IMAGE .
tags:
- docker
build_ingestion: build_ingestion:
stage: build stage: build
script: script:
- docker build --platform linux/amd64 -f ingestion/Dockerfile -t $INGESTION_IMAGE . - docker build --platform linux/amd64 -f ingestion/Dockerfile -t $INGESTION_IMAGE .
tags:
- docker
export_images: export_images:
stage: export stage: export
...@@ -33,6 +37,8 @@ export_images: ...@@ -33,6 +37,8 @@ export_images:
paths: paths:
- transferbot-retrieval.tar - transferbot-retrieval.tar
- transferbot-ingestion.tar - transferbot-ingestion.tar
tags:
- docker
deploy_scp: deploy_scp:
stage: deploy stage: deploy
...@@ -45,4 +51,6 @@ deploy_scp: ...@@ -45,4 +51,6 @@ deploy_scp:
- ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts - ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts
- scp transferbot-retrieval.tar transferbot-ingestion.tar $SSH_USER@$SSH_HOST:$SSH_TARGET_DIR - scp transferbot-retrieval.tar transferbot-ingestion.tar $SSH_USER@$SSH_HOST:$SSH_TARGET_DIR
dependencies: dependencies:
- export_images - export_images
\ No newline at end of file tags:
- docker
\ No newline at end of file
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