Skip to content

Commit

Permalink
helm to same repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Jan 11, 2022
1 parent ac5e8f8 commit 374f292
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,13 @@ jobs:
# Update the release version of each of polkadot-k8s images
for image in $custom_images; do
image_name=$(yq e ".polkadot_k8s_images.$image" $chart/values.yaml | sed -E "s/polkadot-k8s-(.*):.*/\1/")
yq e ".polkadot_k8s_images.$image = \"midl-dev/polkadot-k8s-$image_name:$RELEASE_VERSION\"" -i $chart/values.yaml
yq e ".polkadot_k8s_images.$image = \"ghcr.io/midl-dev/polkadot-k8s-$image_name:$RELEASE_VERSION\"" -i $chart/values.yaml
done
done
- name: Publish Helm charts
uses: stefanprodan/helm-gh-pages@master
with:
linting: off # We already linted in a job before
token: ${{ secrets.CI_GITHUB_TOKEN }}
branch: main
owner: ${{ github.repository_owner }}
repository: [email protected]:midl-dev/charts.git
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages

0 comments on commit 374f292

Please sign in to comment.