Commit 41133ea
committed
cmd-remote-build-container: add --add-openshift-build-labels
Currently, `oc` looks for non-standard labels for git information, which
it then places in e.g. `image-references` in the release payload.
Ideally `oc` would also check for the standard
`org.opencontainers.image.{revision,source}` labels too for this purpose
but this assumption is wired in a bunch of places so let's just conform
for now to it.
Add a new option to inject these labels. This can then be used when
building the node image extensions image. In turn, this makes the
release controller page for a release have working links for our images
to the openshift/os commit they were built from, just like the other
images.1 parent ec20f34 commit 41133ea
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
| |||
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
260 | 266 | | |
261 | 267 | | |
262 | 268 | | |
| |||
0 commit comments