Cache layers in CI?

This commit is contained in:
jpic
2021-04-24 13:12:19 +02:00
parent 5c941d38d6
commit 9e586de312
+2 -2
View File
@@ -1,7 +1,7 @@
build:
cache:
key: cache
paths: [.cache]
paths: [.cache, .local/share/containers/]
image: yourlabs/buildah
script:
- pip3 install -U --user -e .[cli]
@@ -11,7 +11,7 @@ build:
build-itself:
cache:
key: cache
paths: [.cache]
paths: [.cache, .local/share/containers/]
image: yourlabs/shlax:$CI_COMMIT_SHORT_SHA
script: python3 ./shlaxfile.py build
stage: test