File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -98,17 +98,18 @@ jobs:
9898 # Update the version part of the image tags in dev/main.tf
9999 - name : Update image versions in main.tf
100100 run : |
101- sed -i -E 's|(busola_backend_image\s*=\s*".*:)[^"]+|\1 ${{ github.event.inputs.name }}|' dev/main.tf
102- sed -i -E 's|(busola_web_image\s*=\s*".*:)[^"]+|\1 ${{ github.event.inputs.name }}|' dev/main.tf
101+ sed -i -E 's|(busola_backend_image\s*=\s*".*:)[^"]+|\1v ${{ github.event.inputs.name }}|' dev/main.tf
102+ sed -i -E 's|(busola_web_image\s*=\s*".*:)[^"]+|\1v ${{ github.event.inputs.name }}|' dev/main.tf
103103
104104 # Open a pull request to the dev branch with the updated image versions
105105 - name : Create Pull Request
106106 uses : peter-evans/create-pull-request@v7
107107 with :
108108 token : ${{ secrets.BUSOLA_DEPLOY_PAT }}
109- commit-message : " chore: promote busola images to v${{ github.event.inputs.name }}"
110- branch : promote-busola-images-v${{ github.event.inputs.name }}
111- title : " chore: promote busola images to v${{ github.event.inputs.name }}"
109+ commit-message : " chore: promote busola images to ${{ github.event.inputs.name }}"
110+ branch : promote-busola-images-${{ github.event.inputs.name }}
111+ title : " chore: promote busola images to ${{ github.event.inputs.name }}"
112+ labels : promote-to-dev-pending
112113 body : |
113- This PR updates the Busola image versions in dev/main.tf to v ${{ github.event.inputs.name }}.
114+ This PR updates the Busola image versions in dev/main.tf to ${{ github.event.inputs.name }}.
114115 base : dev
You can’t perform that action at this time.
0 commit comments