Image promotion for openshift pipeline
1.2K
This container can be used to promote images between two tags/registries as part of a build pipeline from inside openshift. Ideally, the container should be run as a build, using the custom build strategy. An example of the build config for this is in origin-build-config-example.yaml
The build variables you can pass are as follows:
SOURCE_TAG - The source tag/registry for the image to be promoted... e.g. internal/bpfcp/bpfcp-web:latest
TARGET_TAG - The target tag/registry where the image will be promoted to... e.g. barclays-registry.barcapint.com:5000/1234/bpfcp-web:latest
FORCE_TAG - Force overwriting the target tag. String value of "true" or "false"
TAG_ONLY - Exit the build process after tagging, but before pushing the image. String value of "true" or "false"
When specifying the source/target tags, you can use the word "internal" as a placeholder for the internal openshift registry address... it will be replaced when the build runs.
Content type
Image
Digest
Size
99.2 MB
Last updated
about 10 years ago
docker pull pp2l/docker-promote-image