How to tag image pushed as result of application build in OpenShift Container Platform?
Issue
- How to tag image pushed as result of application build in OpenShift Container Platform?
- Trying to tag images in OCP builds and use s2i strategy. Using private registry for this and not Image Streams.
Expecting to pass the build number as a tag to the output image or pass an argument as build number when start the build. The build which always pushes image with the tag "latest". Is there a way to specify the tag of the output image ?
Environment
- OpenShift Container Platform 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
