Add nix pull through cache to CI builds.
This commit is contained in:
@@ -122,6 +122,10 @@ spec:
|
||||
- "$(params.image-name)-buildcache"
|
||||
- --cache-to
|
||||
- "$(params.image-name)-buildcache"
|
||||
- --build-arg
|
||||
- "SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)"
|
||||
- --build-arg
|
||||
- "NIX_SUBSTITUTERS=http://ncps.nix-pull-through-cache.svc.cluster.local:80 https://cache.nixos.org"
|
||||
- name: REGISTRIES_CONF
|
||||
value: |
|
||||
unqualified-search-registries = ["docker.io"]
|
||||
|
||||
Reference in New Issue
Block a user