Commit 89b79a90 authored by Devin OKelly's avatar Devin OKelly
Browse files

Update .gitlab-ci.yml file

parent b1bdbe74
...@@ -101,16 +101,21 @@ docker_astrocyte_test: ...@@ -101,16 +101,21 @@ docker_astrocyte_test:
tags: tags:
- cluster_node - cluster_node
artifacts: artifacts:
paths:
- ./containers.txt
reports: reports:
dotenv: build.env dotenv: build.env
cache_docker_image: cache_docker_image:
stage: cache_docker stage: cache_docker
script: script:
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
- echo "Pull Docker image from the docker.io registry, re-tag, and push to our GitLab" - echo "Pull Docker image from the docker.io registry, re-tag, and push to our GitLab"
- docker #xargs -a containers.txt -I % docker pull "%"
- echo "Need to know what the docker image is ahead of time" - xargs -a containers.txt -I % docker tag "%" "$CI_REGISTRY/$CI_PROJECT_ROOT_NAMESPACE/$CI_PROJECT_NAME/%"
- xargs -a containers.txt -I % docker push "$CI_REGISTRY/$CI_PROJECT_ROOT_NAMESPACE/$CI_PROJECT_NAME/%"
needs:
- docker_astrocyte_test
singularity_astrocyte_test: singularity_astrocyte_test:
stage: test_singularity stage: test_singularity
......
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