Skip to content
Snippets Groups Projects
Commit cc953b8f authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

ENH: cache images locally

parent d3a3d41b
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,9 @@ test:
- echo $KNOWN_TAGS
# test if the caosdb registry knows our current tag
- echo $KNOWN_TAGS | grep "$CAOSDB_TAG"
- time docker load < /image-cache/caosdb-pyint-testenv.tar || true
- time docker load < /image-cache/mariadb.tar || true
- time docker load < /image-cache/caosdb.tar || true
- docker login -u indiscale -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker pull $CI_REGISTRY_IMAGE:latest
- cd .docker
......@@ -123,6 +126,7 @@ build-testenv:
--file .docker/Dockerfile
-t $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:latest
- docker save $CI_REGISTRY_IMAGE:latest > /image-cache/caosdb-pyint-testenv.tar
cert:
tags: [docker]
......
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