Skip to content

Commit

Permalink
fix push to helm
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilDigitalJustice committed Jan 22, 2025
1 parent 3d8d178 commit a685542
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ jobs:
git pull origin $FEATURE_BRANCH
else
git checkout -b $FEATURE_BRANCH
git push --set-upstream origin $FEATURE_BRANCH
fi
- name: Update helm chart
Expand All @@ -144,9 +145,7 @@ jobs:
APP_VERSION: ${{ needs.build-test-publish.outputs.app_version }}
run: |
cd laa-ccms-caab-helm-charts/laa-ccms-caab-service/charts/caab-ebs-api/
yq eval-all "( .appVersion = \"${{ env.REPO_NAME }}-${{ env.APP_VERSION }}\" )" -i Chart.yaml
git config --global user.email "github@justice.gov.uk"
git config --global user.name "GitHub Actions Bot"
yq eval "( .appVersion = \"${{ env.REPO_NAME }}-${{ env.APP_VERSION }}\" )" -i Chart.yaml
git add .
git commit -m "Update appVersion to ${{ env.REPO_NAME }}-${{ env.APP_VERSION }}"
git push --set-upstream origin $FEATURE_BRANCH
git push

0 comments on commit a685542

Please sign in to comment.