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:
stage: build
script:
- docker build --platform linux/amd64 -f retrieval/Dockerfile -t $RETRIEVAL_IMAGE .
tags:
- docker
build_ingestion:
stage: build
script:
- docker build --platform linux/amd64 -f ingestion/Dockerfile -t $INGESTION_IMAGE .
tags:
- docker
export_images:
stage: export
......@@ -33,6 +37,8 @@ export_images:
paths:
- transferbot-retrieval.tar
- transferbot-ingestion.tar
tags:
- docker
deploy_scp:
stage: deploy
......@@ -45,4 +51,6 @@ deploy_scp:
- ssh-keyscan -H $SSH_HOST >> ~/.ssh/known_hosts
- scp transferbot-retrieval.tar transferbot-ingestion.tar $SSH_USER@$SSH_HOST:$SSH_TARGET_DIR
dependencies:
- export_images
\ No newline at end of file
- export_images
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