ci: use plain-http for helm oci publish
This commit is contained in:
@@ -144,17 +144,16 @@ jobs:
|
||||
|
||||
- name: Log in to registry
|
||||
if: steps.version.outputs.is_app_release == 'true'
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: registry.kloude.ir
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_PASS }}
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_PASS }}" | helm registry login registry.kloude.ir \
|
||||
--username "${{ secrets.REGISTRY_USER }}" \
|
||||
--password-stdin \
|
||||
--plain-http
|
||||
|
||||
- name: Push chart to OCI registry
|
||||
if: steps.version.outputs.is_app_release == 'true'
|
||||
run: |
|
||||
owner=$(echo "${GITHUB_REPOSITORY_OWNER}" | tr '[:upper:]' '[:lower:]')
|
||||
helm push "$CHART_PACKAGE" "oci://registry.kloude.ir/kloude/kks-provider-plugin-charts"
|
||||
helm push --plain-http "$CHART_PACKAGE" "oci://registry.kloude.ir/kloude/kks-provider-plugin-charts"
|
||||
|
||||
- name: Make OCI chart public
|
||||
if: steps.version.outputs.is_app_release == 'true'
|
||||
|
||||
Reference in New Issue
Block a user