Skip to content

Commit

Permalink
ci: fix configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord committed Dec 22, 2023
1 parent c35cb41 commit 0c271f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ jobs:
- run: kubectl config use-context arn:aws:eks:eu-west-1:955332203423:cluster/staging-eu-west-1-hosting
- name: Deploy in staging
run: |
kubectl patch deployment -n formance-system operator -p "{\"spec\":{\"template\": {\"spec\": {\"containers\": [{\"image\": \"ghcr.io/formancehq/operator:${GITHUB_SHA}\", \"name\": \"operator\" }]}}}}" --type=merge
kubectl patch deployment -n formance-system agent -p "{\"spec\":{\"template\": {\"spec\": {\"containers\": [{\"image\": \"ghcr.io/formancehq/agent:${GITHUB_SHA}\", \"name\": \"agent\" }]}}}}" --type=merge
kubectl set image deployment -n formance-system agent agent=ghcr.io/formancehq/agent:${GITHUB_SHA}
kubectl set image deployment -n formance-system operator operator=ghcr.io/formancehq/operator:${GITHUB_SHA}
kubectl patch Versions default -p "{\"spec\":{\"ledger\": \"${GITHUB_SHA}\"}}" --type=merge
kubectl patch Versions default -p "{\"spec\":{\"payments\": \"${GITHUB_SHA}\"}}" --type=merge
kubectl patch Versions default -p "{\"spec\":{\"auth\": \"${GITHUB_SHA}\"}}" --type=merge
Expand Down

0 comments on commit 0c271f0

Please sign in to comment.