bazel: always use nix

This commit is contained in:
Malte Poll 2023-10-04 10:51:17 +02:00 committed by Malte Poll
parent d046ba01ff
commit d22f53d7cc
13 changed files with 49 additions and 195 deletions

View file

@ -172,9 +172,9 @@ jobs:
TARGET: //image/system:${{ matrix.csp }}_${{ matrix.attestation_variant }}_${{ needs.build-settings.outputs.stream }}
run: |
echo "::group::Build"
bazel build --host_platform=@rules_nixpkgs_core//platforms:host "${TARGET}"
bazel build "${TARGET}"
{
echo "image-dir=$(bazel cquery --host_platform=@rules_nixpkgs_core//platforms:host --output=files "$TARGET")"
echo "image-dir=$(bazel cquery --output=files "$TARGET")"
} | tee -a "$GITHUB_OUTPUT"
echo "::endgroup::"