Have docker installed (refer to official installation guide), and make sure you are in the docker group.
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
Login to the private registry:
docker login harbor.szidc
Refer to https://contek.atlassian.net/wiki/spaces/INFRA/pages/415137804. Then:
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
Configure Prefect API endpoint:
prefect config set PREFECT_API_URL=https://contekray.szidc/prefecthf/api
Before you deploy your flows, you should modify the image name in your prefect.yaml
lest you overwrite others' flows or vice versa.
Deploy:
prefect deploy --all