diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 1bb96a84..552b1998 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -4,12 +4,10 @@ pipeline: image: nixpkgs/nix-flakes:latest pull: true commands: - - mkdir -p ~/.config/nix - - echo "store = /var/build-nix-store" >> /etc/nix/nix.conf - - echo "sandbox = false" >> /etc/nix/nix.conf - - cat /etc/nix/nix.conf - time nix flake metadata - time nix --no-sandbox develop -c statix check - time nix flake check - volumes: - - /var/lib/woodpecker/nix-store:/var/build-nix-store \ No newline at end of file + - export AWS_ACCESS_KEY_ID="nix-builder" + - export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY" + - nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https®ion=cyplodev' + secrets: [ minio_nix_builder_key ]