You've already forked reloading-manager
Ok, 5am, it works. For real.
This commit is contained in:
@@ -22,13 +22,12 @@ jobs:
|
|||||||
|
|
||||||
- name: 📝 Update Deployment Manifest
|
- name: 📝 Update Deployment Manifest
|
||||||
run: |
|
run: |
|
||||||
sed "s|scr.siteworxpro.com/reloading-manager/frontend:__TAG__|scr.siteworxpro.com/reloading-manager/frontend:${{ gitea.ref_name }}|g" argocd/template/deployment.yml > argocd/deployment/deployment.yml
|
sed "s|__TAG__|${{ gitea.ref_name }}|g" argocd/template/deployment.yml > argocd/deployment/deployment.yml
|
||||||
sed "s|scr.siteworxpro.com/reloading-manager/backend:__TAG__|scr.siteworxpro.com/reloading-manager/backend:${{ gitea.ref_name }}|g" argocd/template/deployment.yml > argocd/deployment/deployment.yml
|
|
||||||
|
|
||||||
- name: 💾 Commit Changes
|
- name: 💾 Commit Changes
|
||||||
uses: EndBug/add-and-commit@v9
|
uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
add: argocd/
|
add: argocd/deployment/deployment.yml
|
||||||
author_name: "GitHub Action"
|
author_name: "GitHub Action"
|
||||||
author_email: gitia@siteworxpro.com
|
author_email: gitia@siteworxpro.com
|
||||||
message: "Update deployment manifest with new image tags"
|
message: "Update deployment manifest with new image tags"
|
||||||
@@ -15,10 +15,10 @@ spec:
|
|||||||
- siteworxpro
|
- siteworxpro
|
||||||
containers:
|
containers:
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: scr.siteworxpro.com/reloading-manager/frontend:v1.0.0
|
image: scr.siteworxpro.com/reloading-manager/frontend:test
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
- name: backend
|
- name: backend
|
||||||
image: scr.siteworxpro.com/reloading-manager/backend:v1.0.0
|
image: scr.siteworxpro.com/reloading-manager/backend:test
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user