- Notifications
You must be signed in to change notification settings - Fork1k
Commit7171d52
authored
fix: replace both colons and slashes in SBOM filename for Docker image (#16915)
This PR fixes the SBOM filename generation in the Docker build script toproperly handle image tags that contain slashes. The currentimplementation only replaces colons with underscores, but fails whenimage tags include slashes (common in registry paths).The fix updates the string replacement to handle both colons and slashesin the image tag when generating the SBOM filename.Change-Id: Ifd7bad6d165393e11202e5bf070a4cb26eaa6a6aSigned-off-by: Thomas Kosiewski <tk@coder.com>Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent389af22 commit7171d52
1 file changed
+2
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
157 |
| - | |
| 157 | + | |
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
| 164 | + | |
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
|
0 commit comments
Comments
(0)