EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 5dba370f authored by Mussab Abdalla's avatar Mussab Abdalla
Browse files

tagging images with :latest

parent 076d3a60
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,10 @@ build:
- IMAGE="$CI_REGISTRY_IMAGE/pvs_cache"
- docker pull "$IMAGE":$CI_COMMIT_REF_NAME || true
- docker build --cache-from "$IMAGE":$CI_COMMIT_REF_NAME -t "$IMAGE":$CI_COMMIT_REF_SLUG -t "$IMAGE":$CI_COMMIT_REF_NAME cache/
- docker tag ""$CI_REGISTRY_IMAGE/pvs_core"" ""$CI_REGISTRY_IMAGE/pvs_core":latest"
- docker tag "$CI_REGISTRY_IMAGE/pvs_cache" "$CI_REGISTRY_IMAGE/pvs_cache"
- docker tag "$CI_REGISTRY_IMAGE/pvs_preprocessor" "$CI_REGISTRY_IMAGE/pvs_preprocessor:latest"
- docker tag "$CI_REGISTRY_IMAGE/pvs_client" "$CI_REGISTRY_IMAGE/pvs_client"
- chmod +x env_setup.sh wait_for_container.sh
- ./env_setup.sh
- mkdir data
......@@ -73,9 +77,3 @@ build:
- docker exec -i $(docker ps -qf "name=emg-pvs_registrar") python3 /core/registrar.py --objects-prefix "OA/PH1B/0.1/b9/urn:eop:PHR:MULTISPECTRAL_0.5m:DS_PHR1B_201608070959189_FR1_PX_E012N32_0719_00974_4148/0000/PH1B_PHR_FUS_1A_20160807T095918_20160807T095920_TOU_1234_4148.DIMA.tar"
- pytest -s registrar_test.py --name OA/PH1B/0.1/b9/urn:eop:PHR:MULTISPECTRAL_0.5m:DS_PHR1B_201608070959189_FR1_PX_E012N32_0719_00974_4148/0000/PH1B_PHR_FUS_1A_20160807T095918_20160807T095920_TOU_1234_4148.DIMA.tar
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment