Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adnan-kamili committed Sep 9, 2020
1 parent d5534a3 commit 306f25e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
run: sudo snap install yq

- name: Update dashboard image tag
if: ${{ github.event.client_payload.dashboard }}
run: yq w -i cryptlex/cryptlex-enterprise/values.yaml 'services.dashboard.image.tag' ${{ github.event.client_payload.dashboard.tag }}
if: ${{ github.event.client_payload.dashboard_tag }}
run: yq w -i cryptlex/cryptlex-enterprise/values.yaml 'services.dashboard.image.tag' ${{ github.event.client_payload.dashboard_tag }}

- name: Update web api image tag
if: ${{ github.event.client_payload.webApi }}
run: yq w -i cryptlex/cryptlex-enterprise/values.yaml 'services.webApi.image.tag' ${{ github.event.client_payload.webApi.tag }}
if: ${{ github.event.client_payload.web_api_tag }}
run: yq w -i cryptlex/cryptlex-enterprise/values.yaml 'services.webApi.image.tag' ${{ github.event.client_payload.web_api_tag }}

- name: Get current chart version
id: chartVersion
Expand Down

0 comments on commit 306f25e

Please sign in to comment.