Public | Automated Build

Last pushed: 2 years ago
Short Description
Image promotion for openshift pipeline
Full Description

Docker Image Promoter for openshift

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.

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.

Docker Pull Command