To push artifacts to the container registry, run the script from $TCSA_WORK_SPACE/tcx-deployer/clis.
Note: If you are using secure Harbor registry, ensure that you perform the steps mentioned in
Secure Harbor Registry section for self-signed or public certificates.
If you do not want to specify the registry username and password in the installation script, perform Docker login. To login to Docker, run the following command:
docker login <harbor-fqdn>Ensure that the
--registry-password
does not have the comma character in it. If the comma is used, escape it using the backslash.
- Set the following variable to true for VMware Telco Cloud Automation based deployment.
export TCA_BASED_DEPLOYMENT=true
- Run the following script to push artifacts to registry.
root [ ~/base/tcx-deployer/ ]# ./tcxctl push --artifacts-path <$TCSA_WORK_SPACE>/tcx-deployer/ --registry <harbor-registry-fqdn>/<project-name> --registry-password <your-registry-password> --registry-username <your-registry-username> --registry-cert <path-to-your-registry-ca-certificate-file>
Note: The--registry-cert
is an optional parameter. If you are using a private certification-based Harbor, you must pass a certificate path value to it.