Skip to content

Commit

Permalink
Merge pull request #7 from konstructio/fix-repo-url
Browse files Browse the repository at this point in the history
fix: unqoute url
  • Loading branch information
patrickdappollonio authored Dec 19, 2024
2 parents e39987a + efe8286 commit 7974ff6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mirror-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
mirror-charts:
uses: ./.github/workflows/tpl-mirror-charts.yaml
with:
registry-destination: "https://charts.konstruct.io/"
registry-destination: "https://charts.konstruct.io"
secrets: inherit
11 changes: 5 additions & 6 deletions .github/workflows/tpl-mirror-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:

- name: "Validate Helm credentials"
run: |
export HURL_REGISTRY_DESTINATION="${{ inputs.registry-destination }}"
hurl --test <<EOF
POST "${{ inputs.registry-destination }}"/api/charts
POST ${{ inputs.registry-destination }}/api/charts
[BasicAuth]
{{HELM_REPO_USERNAME}}: {{HELM_REPO_PASSWORD}}
Expand All @@ -53,8 +52,8 @@ jobs:
jsonpath "$.error" == "EOF"
EOF
env:
HURL_HELM_REPO_USERNAME: "${{ secrets.TEST_CHARTMUSEUM_USER }}"
HURL_HELM_REPO_PASSWORD: "${{ secrets.TEST_CHARTMUSEUM_PASSWORD }}"
HURL_HELM_REPO_USERNAME: "${{ secrets.KONSTRUCT_CHARTMUSEUM_USER }}"
HURL_HELM_REPO_PASSWORD: "${{ secrets.KONSTRUCT_CHARTMUSEUM_PASSWORD }}"

- name: "Upload Helm charts to a different museum"
if: github.ref == 'refs/heads/main'
Expand All @@ -66,5 +65,5 @@ jobs:
helm-push "${tgz}" "${{ inputs.registry-destination }}" --force
done
env:
HELM_REPO_USERNAME: "${{ secrets.TEST_CHARTMUSEUM_USER }}"
HELM_REPO_PASSWORD: "${{ secrets.TEST_CHARTMUSEUM_PASSWORD }}"
HURL_HELM_REPO_USERNAME: "${{ secrets.KONSTRUCT_CHARTMUSEUM_USER }}"
HURL_HELM_REPO_PASSWORD: "${{ secrets.KONSTRUCT_CHARTMUSEUM_PASSWORD }}"

0 comments on commit 7974ff6

Please sign in to comment.