Skip to content

Commit a659019

Browse files
Shreyas SrivathsaShreyas Srivathsa
authored andcommitted
Update workflow; modify sed commands when updating image tag
1 parent 58db195 commit a659019

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-push.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ jobs:
8585
token: ${{ secrets.REPO_PAT }}
8686
- name: Update image tags in values.yaml based on env specification
8787
run: |
88-
sed -i -r 's/grpc-client:(.)+/grpc-client:${{env.GRPC_CLIENT_IMAGE}}/g' values.yaml
89-
sed -i -r 's/grpc-server:(.)+/grpc-server:${{env.GRPC_SERVER_IMAGE}}/g' values.yaml
90-
sed -i -r 's/processor:(.)+/processor:${{env.PROCESSOR_IMAGE}}/g' values.yaml
91-
sed -i -r 's/producer:(.)+/producer:${{env.PRODUCER_IMAGE}}/g' values.yaml
88+
sed -i -r 's/grpc-client:(.)+/${{env.GRPC_CLIENT_IMAGE}}/g' values.yaml
89+
sed -i -r 's/grpc-server:(.)+/${{env.GRPC_SERVER_IMAGE}}/g' values.yaml
90+
sed -i -r 's/processor:(.)+/${{env.PROCESSOR_IMAGE}}/g' values.yaml
91+
sed -i -r 's/producer:(.)+/${{env.PRODUCER_IMAGE}}/g' values.yaml
9292
- name: Commit and push changes
9393
run: |
9494
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)