You've already forked reloading-manager
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
b40edf70d4
|
|||
|
4f750ae15c
|
|||
|
3246450d77
|
|||
|
74681e01b3
|
|||
|
9dce6b8930
|
|||
|
7c02aa7148
|
|||
|
|
a8c470a474 |
@@ -127,16 +127,25 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "## Do not edit this file directly. It is auto-generated by the script." > argocd/deployment/deployment.yml
|
echo "## Do not edit this file directly. It is auto-generated by the script." > argocd/deployment/deployment.yml
|
||||||
sed "s|__TAG__|${{ 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
|
||||||
|
#
|
||||||
- name: 💾 ✅ Commit Updated Manifest
|
# - name: 💾 ✅ Commit Updated Manifest
|
||||||
uses: EndBug/add-and-commit@v9
|
# uses: EndBug/add-and-commit@v9
|
||||||
with:
|
# with:
|
||||||
new_branch: release/${{ gitea.ref_name }}-deploy
|
# new_branch: release/${{ gitea.ref_name }}-deploy
|
||||||
add: argocd/deployment/deployment.yml
|
# 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"
|
||||||
|
|
||||||
- name: 🚀 ✨ Create Pull Request
|
- name: 🚀 ✨ Create Pull Request
|
||||||
id: cpr
|
id: cpr
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
|
env:
|
||||||
|
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
||||||
|
with:
|
||||||
|
base: master
|
||||||
|
add-paths: argocd/deployment/deployment.yml
|
||||||
|
title: "🚀 ✨ Release ${GITHUB_REF_NAME} - Deploy"
|
||||||
|
branch: release/${{ gitea.ref_name }}-deploy
|
||||||
|
committer: "Gitea Action 🤖 <gitia@siteworxpro.com>"
|
||||||
|
body: "📝 🔄 Update deployment manifest with new image tags for release ${GITHUB_REF_NAME}"
|
||||||
@@ -19,11 +19,11 @@ spec:
|
|||||||
- name: siteworxpro
|
- name: siteworxpro
|
||||||
containers:
|
containers:
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: scr.siteworxpro.com/reloading-manager/frontend:v0.0.28
|
image: scr.siteworxpro.com/reloading-manager/frontend:v0.0.31
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
- name: backend
|
- name: backend
|
||||||
image: scr.siteworxpro.com/reloading-manager/backend:v0.0.28
|
image: scr.siteworxpro.com/reloading-manager/backend:v0.0.31
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
envFrom:
|
envFrom:
|
||||||
|
|||||||
Reference in New Issue
Block a user