Can I have multiple outputs in an OpenShift Origin build? -


i'm building several base images our infrastructure , mimic docker hub nomenclature image tags. example, java image on docker hub includes several aliases same image, e.g. 8 , latest same image.

if replicate system in imagestreams, need create buildconfig output specification this:

"output": {   "to": {     "kind": "imagestreamtag"     "name": "jdk:8"   } } 

obviously, includes 1 tag, if write

"output": {   "to": {     "kind": "imagestreamtag"     "name": "jdk:8"   },   "to": {     "kind": "imagestreamtag"     "name": "jdk:latest"   } } 

only latest definition executed.

is there proper way push same image different tags apart creating different buildconfig (which "build" docker image docker image)?

there card on trello board this: https://trello.com/c/nox8ftrq/686-5-support-multiple-tags-for-a-build-output .

you should able using oc tag avoid having run same build twice.


Comments