File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 sleep 10
6666 docker logs docker_registry_proxy > initial_logs.txt
6767
68- - uses : actions/upload-artifact@v2
68+ - name : Upload artifact initial_logs
69+ uses : actions/upload-artifact@v2
6970 with :
7071 name : initial_logs
7172 path : initial_logs.txt
@@ -132,7 +133,7 @@ jobs:
132133 echo "Container is up again..."
133134
134135 # This can be quite slow, since Github Actions runner Docker comes preloaded with a lot of images.
135- - name : Initial prune of all unused images from docker cache
136+ - name : Initial prune of all unused images from docker cache (slow)
136137 timeout-minutes : 2
137138 run : |
138139 docker image prune --all --force
@@ -147,7 +148,8 @@ jobs:
147148 run : |
148149 docker logs docker_registry_proxy > cold_cache.txt
149150
150- - uses : actions/upload-artifact@v2
151+ - name : Upload artifact cold_cache
152+ uses : actions/upload-artifact@v2
151153 with :
152154 name : cold_cache
153155 path : cold_cache.txt
@@ -167,12 +169,9 @@ jobs:
167169 run : |
168170 docker logs docker_registry_proxy > warm_cache.txt
169171
170- - uses : actions/upload-artifact@v2
172+ - name : Upload artifact warm_cache
173+ uses : actions/upload-artifact@v2
171174 with :
172175 name : warm_cache
173176 path : warm_cache.txt
174177
175- - name : Finally stop proxy instance in docker
176- timeout-minutes : 1
177- run : |
178- timeout 58 docker stop docker_registry_proxy
You can’t perform that action at this time.
0 commit comments