File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,10 @@ jobs:
44
44
45
45
- restore_cache :
46
46
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 -
51
51
paths :
52
52
- /tmp/docker
53
53
- run :
@@ -64,13 +64,13 @@ jobs:
64
64
set -e
65
65
if [[ "$success" = "0" ]]; then
66
66
echo "Pulling from local registry"
67
- docker tag localhost:5000/ubuntu ubuntu:xenial-20200114
67
+ docker tag localhost:5000/ubuntu ubuntu:jammy-20250730
68
68
docker pull localhost:5000/nitransforms
69
69
docker tag localhost:5000/nitransforms nitransforms:latest
70
70
else
71
71
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
74
74
docker push localhost:5000/ubuntu
75
75
fi
76
76
- run :
93
93
docker exec -it registry /bin/registry garbage-collect --delete-untagged \
94
94
/etc/docker/registry/config.yml
95
95
- save_cache :
96
- key : build-v1 -{{ .Branch }}-{{ epoch }}
96
+ key : build-v2 -{{ .Branch }}-{{ epoch }}
97
97
paths :
98
98
- /tmp/docker
99
99
- run :
You can’t perform that action at this time.
0 commit comments