Skip to content

Commit

Permalink
env interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Jul 16, 2021
1 parent 8240a43 commit 265cbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
- name: Manual Deploy
run: |
kubectl set image deployment circulation-history-web circulation-history=$IMAGE_ID:${{ steps.tag_check.outputs.tag }}
kubectl patch cronjob circulation-history-loader --type=json -p='[{"op":"replace", "path": "/spec/jobTemplate/spec/template/spec/containers/0/image", "value":"$IMAGE_ID:${{ steps.tag_check.outputs.tag }}"}]'
kubectl patch cronjob circulation-history-loader --type=json -p='[{"op":"replace", "path": "/spec/jobTemplate/spec/template/spec/containers/0/image", "value":"${{env.IMAGE_ID}}:${{ steps.tag_check.outputs.tag }}"}]'

0 comments on commit 265cbdd

Please sign in to comment.