EOX GitLab Instance

Commit 294c0232 authored by Mussab Abdalla's avatar Mussab Abdalla
Browse files

update gitlab ci with seeder image

parent 7364a9fe
......@@ -14,6 +14,9 @@ deploy_latest:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- docker build -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE:latest
- cd ./seeder
- docker build -t $CI_REGISTRY_IMAGE-seeder .
- docker push $CI_REGISTRY_IMAGE-seeder:latest
only:
- main
......@@ -26,6 +29,9 @@ deploy:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- docker build --cache-from $CI_REGISTRY_IMAGE:latest -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
- cd ./seeder
- docker build --cache-from $CI_REGISTRY_IMAGE-seeder:latest -t $CI_REGISTRY_IMAGE-seeder:$CI_COMMIT_TAG .
- docker push $CI_REGISTRY_IMAGE-seeder:$CI_COMMIT_TAG
only:
- tags
......
Markdown is supported
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