Commit c035868
committed
fix(ci): trust the checkout inside image-push-manual's bazel-ci container
git rev-parse fails silently with "dubious ownership" (CVE-2022-24765)
when the bazel-ci container job runs against a checkout owned by the
runner host's UID, so workspace_status.sh falls back to the literal
"unknown" and event-ledger's manual-dispatch images embed mr-unknown
instead of a real short SHA.
Signed-off-by: priyaselvaganesan <pselvaganesa@nvidia.com>1 parent 605e8d3 commit c035868
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
146 | 156 | | |
147 | 157 | | |
148 | 158 | | |
| |||
0 commit comments