File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 93
93
- name : Build and push images
94
94
run : |-
95
95
gcloud builds submit --quiet --substitutions="COMMIT_SHA=${{ github.event.workflow_run.head_sha }},_CUSTOM_BRANCH_TAG=gcloud-prod" --config .cloudbuild/docker.cloudbuild.yaml --gcs-log-dir=gs://seqr-github-actions-logs/logs .
96
+
97
+ helm_update :
98
+ runs-on : ubuntu-latest
99
+ needs : docker
100
+ steps :
101
+ - uses : actions/checkout@v3
102
+ with :
103
+ repository : broadinstitute/seqr-helm
104
+ ref : main
105
+ persist-credentials : false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
106
+ fetch-depth : 0 # otherwise, you will failed to push refs to dest repo
107
+
108
+ - name : Update appVersion in seqr Chart file
109
+ uses : mikefarah/yq@v4.22.1
110
+ with :
111
+ cmd : >
112
+ yq -i '.appVersion = "${{ github.event.workflow_run.head_sha }}"' charts/pipeline-runner/Chart.yaml
113
+
114
+ - name : Commit and Push changes
115
+ uses : Andro999b/push@v1.3
116
+ with :
117
+ repository : broadinstitute/seqr-helm
118
+ branch : main
119
+ github_token : ${{ secrets.SEQR_VERSION_UPDATE_TOKEN }}
120
+ author_email : ${{ github.actor }}@users.noreply.github.com
121
+ author_name : tgg-automation
122
+ message : " Update pipeline-runner chart appVersion to ${{ github.event.workflow_run.head_sha }}"
You can’t perform that action at this time.
0 commit comments