Skip to content

Commit

Permalink
escape sed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyriakos Akriotis committed Jul 11, 2024
1 parent 24e9972 commit ea1a92f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ jobs:
- name: Update Charts and Commit Changes
id: update_charts
env:
image: ${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.IMG_NAME }}
image: ${{ secrets.DOCKERHUB_USERNAME }}\/${{ vars.IMG_NAME }}
run: |
# docusaurus
sed -i 's/^version: .*/version: ${{ vars.APP_VERSION }}.${{github.run_number}}/' ./charts/docusaurus/Chart.yaml
sed -i 's/^appVersion: .*/appVersion: ${{ vars.APP_VERSION }}.${{github.run_number}}-${{ steps.commit_hash.outputs.short }}/' ./charts/docusaurus/Chart.yaml
sed -i 's/^tag: .*/tag: ${{ vars.APP_VERSION }}.${{github.run_number}}-${{ steps.commit_hash.outputs.short }}/' ./charts/docusaurus/values.yaml
sed -i 's/^image: .*/image: '${{ env.image }}'/' ./charts/docusaurus/values.yaml
sed -i 's/^image: .*/image: ${{ env.image }}/' ./charts/docusaurus/values.yaml
cat ./charts/docusaurus/Chart.yaml
echo ""
echo "---"
Expand Down

0 comments on commit ea1a92f

Please sign in to comment.