Skip to content

Commit d99ca99

Browse files
committed
chore(ci): Refresh Docker build cache
1 parent 45466b1 commit d99ca99

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.circleci/config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444

4545
- restore_cache:
4646
keys:
47-
- build-v1-{{ .Branch }}-{{ epoch }}
48-
- build-v1-{{ .Branch }}-
49-
- build-v1-master-
50-
- build-v1-
47+
- build-v2-{{ .Branch }}-{{ epoch }}
48+
- build-v2-{{ .Branch }}-
49+
- build-v2-master-
50+
- build-v2-
5151
paths:
5252
- /tmp/docker
5353
- run:
@@ -64,13 +64,13 @@ jobs:
6464
set -e
6565
if [[ "$success" = "0" ]]; then
6666
echo "Pulling from local registry"
67-
docker tag localhost:5000/ubuntu ubuntu:xenial-20200114
67+
docker tag localhost:5000/ubuntu ubuntu:jammy-20250730
6868
docker pull localhost:5000/nitransforms
6969
docker tag localhost:5000/nitransforms nitransforms:latest
7070
else
7171
echo "Pulling from Docker Hub"
72-
docker pull ubuntu:xenial-20200114
73-
docker tag ubuntu:xenial-20200114 localhost:5000/ubuntu
72+
docker pull ubuntu:jammy-20250730
73+
docker tag ubuntu:jammy-20250730 localhost:5000/ubuntu
7474
docker push localhost:5000/ubuntu
7575
fi
7676
- run:
@@ -93,7 +93,7 @@ jobs:
9393
docker exec -it registry /bin/registry garbage-collect --delete-untagged \
9494
/etc/docker/registry/config.yml
9595
- save_cache:
96-
key: build-v1-{{ .Branch }}-{{ epoch }}
96+
key: build-v2-{{ .Branch }}-{{ epoch }}
9797
paths:
9898
- /tmp/docker
9999
- run:

0 commit comments

Comments
 (0)