Fix layer caching in CI?

This commit is contained in:
jpic 2021-04-24 12:45:32 +02:00
parent 3cd3dae619
commit 7467f79bd9

View File

@ -1,7 +1,7 @@
build:
cache:
key: cache
paths: [.cache, .local/share/containers/]
paths: [.cache, /var/lib/containers/]
image: yourlabs/buildah
script:
- pip3 install -U --user -e .[cli]
@ -11,7 +11,7 @@ build:
build-itself:
cache:
key: cache
paths: [.cache, .local/share/containers/]
paths: [.cache, /var/lib/containers/]
image: yourlabs/shlax:$CI_COMMIT_SHORT_SHA
script: python3 ./shlaxfile.py build
stage: test