auth
Some checks failed
build-staging Build build-staging has failed

This commit is contained in:
Tom Alexander
2026-07-13 18:33:54 -04:00
parent 40b81b715c
commit 9812e3c2d6
2 changed files with 13 additions and 1 deletions

View File

@@ -10,6 +10,9 @@ filter-syscalls = false
substituters = http://ncps.nix-pull-through-cache.svc.cluster.local:80 https://cache.nixos.org
EOF
RUN --mount=type=secret,id=cache_token cat /run/secrets/cache_token
RUN --mount=type=secret,id=cache_token find /
RUN --mount=type=secret,id=cache_token NIX_CONFIG="extra-access-tokens = ncps.nix-pull-through-cache.svc.cluster.local=$(cat /run/secrets/cache_token)" cp "$(nix build nixpkgs#cacert --print-out-paths)/etc/ssl/certs/ca-bundle.crt" /tmp/ca-bundle.crt
COPY . /tmp/build