Sign inSign up

pp2l/docker-promote-image

By pp2l

Updated about 10 years ago

Image promotion for openshift pipeline

Image
0

1.2K

pp2l/docker-promote-image repository overview

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. 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.

Tag summary

Content type

Image

Digest

Size

99.2 MB

Last updated

about 10 years ago

docker pull pp2l/docker-promote-image