ci: disable SSL verification for internal registry
[ray-serve only] Self-signed cert on internal network requires --disable-certificate-verification
This commit is contained in:
@@ -63,10 +63,15 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TWINE_USERNAME: ${{ secrets.REGISTRY_USER }}
|
TWINE_USERNAME: ${{ secrets.REGISTRY_USER }}
|
||||||
TWINE_PASSWORD: ${{ secrets.REGISTRY_TOKEN }}
|
TWINE_PASSWORD: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
# Disable SSL verification for internal self-signed cert
|
||||||
|
CURL_CA_BUNDLE: ""
|
||||||
run: |
|
run: |
|
||||||
cd ray-serve
|
cd ray-serve
|
||||||
# Use internal registry URL to bypass Cloudflare 100MB limit
|
# Use internal registry URL to bypass Cloudflare 100MB limit
|
||||||
twine upload --repository-url https://registry.lab.daviestechlabs.io/api/packages/daviestechlabs/pypi \
|
# --disable-certificate-verification for self-signed internal cert
|
||||||
|
twine upload \
|
||||||
|
--disable-certificate-verification \
|
||||||
|
--repository-url https://registry.lab.daviestechlabs.io/api/packages/daviestechlabs/pypi \
|
||||||
dist/*
|
dist/*
|
||||||
|
|
||||||
- name: Notify on success
|
- name: Notify on success
|
||||||
|
|||||||
Reference in New Issue
Block a user