Skip to content

Commit

Permalink
updating env vars in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
cristidas committed Jul 26, 2024
1 parent e0924e5 commit 9e28d21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/aws-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,15 @@ jobs:
id: preparing-helm-values
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
CLUSTER_NAME: ${{ env.CLUSTER_NAME }}
APP_NAME: chainlog-ui
run: |
sed -i 's/${ECR_REGISTRY}/'$(echo $ECR_REGISTRY)/ deploy/prod/chainlog-logger.yaml
sed -i 's/${ECR_REGISTRY}/'$(echo $ECR_REGISTRY)/ deploy/prod/chainlog-ui.yaml
sed -i 's/${CLUSTER_NAME}/'$(echo $CLUSTER_NAME)/ deploy/prod/chainlog-ui.yaml
sed -i 's/${APP_NAME}/'$(echo $APP_NAME)/ deploy/prod/chainlog-ui.yaml
- name: Deploying Chainlog UI to Kubernetes with Helm
env:
APP_NAME: chainlog-ui
uses: bitovi/[email protected]
with:
values: image.repository=${{ steps.login-ecr.outputs.registry }}/chainlog-ui-prod,image.tag=${{ steps.vars.outputs.sha_short }}
Expand Down

0 comments on commit 9e28d21

Please sign in to comment.