Cache layers in CI?
This commit is contained in:
parent
5c941d38d6
commit
9e586de312
@ -1,7 +1,7 @@
|
|||||||
build:
|
build:
|
||||||
cache:
|
cache:
|
||||||
key: cache
|
key: cache
|
||||||
paths: [.cache]
|
paths: [.cache, .local/share/containers/]
|
||||||
image: yourlabs/buildah
|
image: yourlabs/buildah
|
||||||
script:
|
script:
|
||||||
- pip3 install -U --user -e .[cli]
|
- pip3 install -U --user -e .[cli]
|
||||||
@ -11,7 +11,7 @@ build:
|
|||||||
build-itself:
|
build-itself:
|
||||||
cache:
|
cache:
|
||||||
key: cache
|
key: cache
|
||||||
paths: [.cache]
|
paths: [.cache, .local/share/containers/]
|
||||||
image: yourlabs/shlax:$CI_COMMIT_SHORT_SHA
|
image: yourlabs/shlax:$CI_COMMIT_SHORT_SHA
|
||||||
script: python3 ./shlaxfile.py build
|
script: python3 ./shlaxfile.py build
|
||||||
stage: test
|
stage: test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user