Skip to content

Commit 624f2d7

Browse files
author
Juliette Pretot
committed
Fix stage0_bin failing in GH Action SLSA generator
Change-Id: I0db40f70db1117188246f9f3fc1210b79f2aa68b
1 parent 72b0969 commit 624f2d7

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

buildconfigs/stage0_bin.toml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
# This is the static build configuration that we use with the docker-based SLSA3 generator for
22
# building the `stage0` binary, and its provenance.
33
# See https://github.com/slsa-framework/slsa-github-generator/tree/main/internal/builders/docker.
4-
command = [
5-
"nix",
6-
"develop",
7-
".#rust",
8-
"--command",
9-
"env",
10-
"--chdir=stage0_bin",
11-
"cargo",
12-
"objcopy",
13-
"--release",
14-
"--",
15-
"--output-target=binary",
16-
"target/x86_64-unknown-none/release/stage0_bin",
17-
]
4+
command = ["nix", "develop", ".#rust", "--command", "just", "stage0_bin"]
185
artifact_path = "./stage0_bin/target/x86_64-unknown-none/release/stage0_bin"

0 commit comments

Comments
 (0)