File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3030
3131 git switch -c update-docker-tag/${{ github.event.client_payload.tag }}
3232
33- sed -i -E '0,/^([[:blank:]]+tag:[[:blank:]]*)[^[:blank:]]+/{s//\1${{ github.event.client_payload.tag }}/}' imgproxy/values.yaml
34- sed -i -E 's/(ghcr.io\/imgproxy\/imgproxy:)[^[:blank:]]+/\1${{ github.event.client_payload.tag }}/' imgproxy/Chart.yaml
35- git commit -am "Update image.tag to ${{ github.event.client_payload.tag }}"
33+ TAG="${{ github.event.client_payload.tag }}"
34+
35+ sed -i -E "0,/^([[:blank:]]+tag:[[:blank:]]*)[^[:blank:]]+/{s//\1${TAG}/}" imgproxy/values.yaml
36+ sed -i -E "s/(ghcr.io\/imgproxy\/imgproxy:)[^[:blank:]]+/\1${TAG}/" imgproxy/Chart.yaml
37+ sed -i -E "s/^(appVersion: ).*/\1${TAG#v}/" imgproxy/Chart.yaml
38+ git commit -am "Update image.tag to ${TAG}"
3639
3740 git push --set-upstream origin update-docker-tag/${{ github.event.client_payload.tag }}
3841
You can’t perform that action at this time.
0 commit comments