_Pushing Black Duck Images to a Secure Registry - blackducksoftware/hub GitHub Wiki
This page has been deprecated. Please see the official Kubernetes Black Duck Installation Guide here.
This page describes how to grab Black Duck images and push them into a secure registry.
First, clone the synopsys-operator repository:
git clone https://github.com/blackducksoftware/synopsys-operator
Inside this repository, there is a script called blackduck-images.sh
in the download/blackduck
directory.
This script can take a number of command-line parameters. Before attempting to push images with the script, it is recommended that you run:
./blackduck-images.sh --help
The output from this command will show you which version of each Black Duck container will be pulled from Docker Hub and pushed into your secure registry.
Also, please note the --binary-scanner
option. If you do not provide this option, then no Black Duck Binary Analysis (BDBA) images will be pushed to your secure registry.
When you are ready to push the Black Duck images to your secure registry, you must run:
cd download/blackduck
./blackduck-images.sh --push -r <DOCKER_REGISTRY> -p <DOCKER_PROJECT> -u <DOCKER_USER>
Note: If you run the blackduck-images.sh
command with the "--no-push" option, then the Black Duck images will simply be downloaded as a tar file (rather than being pushed to a secure registry), and will be placed in this directory:
download/blackduck/blackduck-images