We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa22c77 commit 04c3962Copy full SHA for 04c3962
.github/workflows/prod.yml
@@ -28,4 +28,17 @@ jobs:
28
file: Dockerfile
29
push: true
30
tags: 100xdevs/todo-app-week-39:${{ github.sha }}
31
-
+
32
+ - name: Clone staging-ops repo, update image tags, and push tags
33
+ env:
34
+ PAT: ${{ secrets.PAT }}
35
+ run: |
36
+ git clone https://github.com/100xdevs-cohort-3/argo-deployment.git
37
38
+ sed -i 's|image: 100xdevs/todo-app-week-39:.*|image: 100xdevs/todo-app-week-39:${{ github.sha }}|' mainfest.yml
39
40
+ git config user.name "GitHub Actions Bot"
41
+ git config user.email "[email protected]"
42
+ git add .
43
+ git commit -m "Update school server image tags to ${{ github.sha }}"
44
+ git push https://${PAT}@github.com/100xdevs-cohort-3/argo-deployment.git main
0 commit comments