ci: use plain-http for helm oci publish
Release Chart / release (push) Failing after 10s
deploy / build (push) Canceled after 28s

This commit is contained in:
2026-07-22 23:30:06 +03:30
parent 6ba3ad4281
commit c40db0d85f
2 changed files with 12 additions and 13 deletions
+6 -6
View File
@@ -97,11 +97,11 @@ jobs:
done done
- name: Log in to registry - name: Log in to registry
uses: docker/login-action@v3 run: |
with: echo "${{ secrets.REGISTRY_PASS }}" | helm registry login registry.kloude.ir \
registry: registry.kloude.ir --username "${{ secrets.REGISTRY_USER }}" \
username: ${{ secrets.REGISTRY_USER }} --password-stdin \
password: ${{ secrets.REGISTRY_PASS }} --plain-http
- name: Push chart to OCI registry - name: Push chart to OCI registry
run: | run: |
@@ -112,7 +112,7 @@ jobs:
exit 0 exit 0
fi fi
for chart in "${charts[@]}"; do for chart in "${charts[@]}"; do
helm push "$chart" "oci://registry.kloude.ir/kloude/kks-provider-plugin-charts" helm push --plain-http "$chart" "oci://registry.kloude.ir/kloude/kks-provider-plugin-charts"
done done
- name: Make OCI chart public - name: Make OCI chart public
+6 -7
View File
@@ -144,17 +144,16 @@ jobs:
- name: Log in to registry - name: Log in to registry
if: steps.version.outputs.is_app_release == 'true' if: steps.version.outputs.is_app_release == 'true'
uses: docker/login-action@v3 run: |
with: echo "${{ secrets.REGISTRY_PASS }}" | helm registry login registry.kloude.ir \
registry: registry.kloude.ir --username "${{ secrets.REGISTRY_USER }}" \
username: ${{ secrets.REGISTRY_USER }} --password-stdin \
password: ${{ secrets.REGISTRY_PASS }} --plain-http
- name: Push chart to OCI registry - name: Push chart to OCI registry
if: steps.version.outputs.is_app_release == 'true' if: steps.version.outputs.is_app_release == 'true'
run: | run: |
owner=$(echo "${GITHUB_REPOSITORY_OWNER}" | tr '[:upper:]' '[:lower:]') helm push --plain-http "$CHART_PACKAGE" "oci://registry.kloude.ir/kloude/kks-provider-plugin-charts"
helm push "$CHART_PACKAGE" "oci://registry.kloude.ir/kloude/kks-provider-plugin-charts"
- name: Make OCI chart public - name: Make OCI chart public
if: steps.version.outputs.is_app_release == 'true' if: steps.version.outputs.is_app_release == 'true'