Skip to content

Commit

Permalink
Update image-publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratap2018 authored Dec 6, 2023
1 parent 5d8555b commit 5c0272e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/image-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,23 @@ jobs:
- name: "Replace secrets"
run:
find .deploy/deployment.yaml -type f -exec sed -i ''s/__PORT__/${{ secrets.PORT }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__HOST__/${{ secrets.HOST }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__ABSOLUTE_URL__/${{ secrets.ABSOLUTE_URL }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__DATA_VAULT__/${{ secrets.DATA_VAULT }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__DB_URL__/${{ secrets.DB_URL }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__LOG_LEVEL__/${{ secrets.LOG_LEVEL }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__SSL__/${{ secrets.SSL }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__GOOGLE_ARTIFACT_URL__/${{ secrets.GOOGLE_ARTIFACT_URL }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__GOOGLE_ARTIFACT_REPO__/${{ secrets.GOOGLE_ARTIFACT_REPO }}/g'' {} \;

find .deploy/deployment.yaml -type f -exec sed -i ''s/__GOOGLE_PROJECT_ID__/${{ secrets.GOOGLE_PROJECT_ID }}/g'' {} \;

- name: "Deploy to GKE"
Expand Down

0 comments on commit 5c0272e

Please sign in to comment.