ci: use plain-http for helm oci publish
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user