Commit 1c5c27a
hack/build-image: add --retag subcommand for regenerating image tags
There are two main use-cases for `--retag`:
1. You built the images without a particular registry and now want the
images to use a fully-qualified registry name. Use `--retag` to image
tags that use the registry name. Also, if you copied an image with only
the FQIN and it lacks the "unqualified" forms. The samba-container CI
jobs do this.
2. You built the images with a non-official registry/prefix (say, for a
personal repo), tested it, and now want to push it to a more official
location. You can use this command to retag the images to point at
the desired repos.
Signed-off-by: John Mulligan <jmulligan@redhat.com>1 parent abe567b commit 1c5c27a
1 file changed
+46
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
255 | 275 | | |
256 | 276 | | |
257 | 277 | | |
| |||
477 | 497 | | |
478 | 498 | | |
479 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
480 | 518 | | |
481 | 519 | | |
482 | 520 | | |
| |||
654 | 692 | | |
655 | 693 | | |
656 | 694 | | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
657 | 703 | | |
658 | 704 | | |
659 | 705 | | |
| |||
0 commit comments