Skip to content

Commit 5ddb3ea

Browse files
committed
add release to main
1 parent ffa085d commit 5ddb3ea

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/prod-release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,30 @@ jobs:
9393
- name: Build and push images
9494
run: |-
9595
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 }}"

0 commit comments

Comments
 (0)