mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 07:29:38 -05:00
image: use systemd-dissect from the host when calculating measurements (#2473)
* image: use systemd-dissect from the host when calculating measurements * ci: setup bazel and nix toolchains before merging os image measurements
This commit is contained in:
parent
ac8a464d7e
commit
e93de82c0b
4
.github/workflows/build-os-image.yml
vendored
4
.github/workflows/build-os-image.yml
vendored
@ -545,6 +545,10 @@ jobs:
|
||||
with:
|
||||
ref: ${{ inputs.ref || github.head_ref }}
|
||||
|
||||
- uses: ./.github/actions/setup_bazel_nix
|
||||
with:
|
||||
useCache: "false"
|
||||
|
||||
- name: Download measurements
|
||||
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
|
||||
with:
|
||||
|
@ -21,8 +21,13 @@ go_binary(
|
||||
],
|
||||
embed = [":cmd_lib"],
|
||||
# keep
|
||||
env = {
|
||||
"DISSECT_TOOLCHAIN": "$(rootpath @systemd//:bin/systemd-dissect)",
|
||||
},
|
||||
# TODO(malt3): The commented out env variable
|
||||
# means we are using `systemd-dissect` from the host.
|
||||
# `systemd-dissect` from nixpkgs breaks GitHub actions runners
|
||||
# for unknown reasons.
|
||||
# Fix this.
|
||||
# env = {
|
||||
# "DISSECT_TOOLCHAIN": "$(rootpath @systemd//:bin/systemd-dissect)",
|
||||
# },
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user