Commit a6020189 authored by minhnguyengp1's avatar minhnguyengp1
Browse files

Fix gitlab-ci job names in yml file

parent cfddf916
Pipeline #11735 failed
...@@ -7,26 +7,26 @@ variables: ...@@ -7,26 +7,26 @@ variables:
IMAGE_TAG: latest IMAGE_TAG: latest
RETRIEVAL_IMAGE: transferbot/retrieval:$IMAGE_TAG RETRIEVAL_IMAGE: transferbot/retrieval:$IMAGE_TAG
INGESTION_IMAGE: transferbot/ingestion:$IMAGE_TAG INGESTION_IMAGE: transferbot/ingestion:$IMAGE_TAG
SSH_USER: huyminh SSH_USER: $SERVER_USER
SSH_HOST: 94.130.88.60 SSH_HOST: $SERVER_IP
SSH_TARGET_DIR: ~/hft-transferbot SSH_TARGET_DIR: ~/hft-transferbot
before_script: before_script:
- echo "Using tag: $IMAGE_TAG" - echo "Using tag: $IMAGE_TAG"
build:retrieval: 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] 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] tags: [docker]
export:images: export_images:
stage: export stage: export
script: script:
- docker save -o transferbot-retrieval.tar $RETRIEVAL_IMAGE - docker save -o transferbot-retrieval.tar $RETRIEVAL_IMAGE
...@@ -36,7 +36,7 @@ export:images: ...@@ -36,7 +36,7 @@ export:images:
- transferbot-retrieval.tar - transferbot-retrieval.tar
- transferbot-ingestion.tar - transferbot-ingestion.tar
deploy:scp: deploy_scp:
stage: deploy stage: deploy
only: only:
- master - master
......
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