Skip to content

Commit

Permalink
maint(circleci): cache new base image nipreps/miniconda:py39_2205.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Aug 23, 2022
1 parent c982656 commit f1c120f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ jobs:
name: Pull images
command: |
set +e
docker pull localhost:5000/ubuntu
docker pull localhost:5000/miniconda
success=$?
set -e
if [[ "$success" = "0" ]]; then
echo "Pulling from local registry"
docker tag localhost:5000/ubuntu ubuntu:focal-20210416
docker tag localhost:5000/miniconda nipreps/miniconda:py39_2205.0
docker pull localhost:5000/mriqc
docker tag localhost:5000/mriqc nipreps/mriqc:latest
docker tag localhost:5000/mriqc nipreps/mriqc
else
echo "Pulling from Docker Hub"
docker pull ubuntu:focal-20210416
docker tag ubuntu:focal-20210416 localhost:5000/ubuntu
docker push localhost:5000/ubuntu
docker pull nipreps/miniconda:py39_2205.0
docker tag nipreps/miniconda:py39_2205.0 localhost:5000/miniconda
docker push localhost:5000/miniconda
docker pull nipreps/mriqc:latest
fi
Expand Down

0 comments on commit f1c120f

Please sign in to comment.