Merge branch 'master' into release/2.2.0

This commit is contained in:
Yogesh Ojha
2024-08-20 11:08:01 +05:30
4 changed files with 55 additions and 31 deletions
+12 -16
View File
@@ -23,38 +23,34 @@ jobs:
issue_number: context.issue.number,
owner,
repo,
body: `👋 Hi @${author},
body: `Hey @${author}! 👋 Thanks for flagging this! 🐛🐞
Issues are only for reporting bugs or feature requests. Please read the documentation before raising an issue: https://rengine.wiki
Before we dig in, Let's make sure you have
Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.`
🔍 Gone through the documentation: https://rengine.wiki
🕵️ Make sure it's not a known issue
📝 Provided us all the details related to this bug`
});
} else if (context.eventName === 'pull_request' && context.payload.action === 'opened') {
github.rest.issues.createComment({
issue_number: context.issue.number,
owner,
repo,
body: `👋 Hi @${author},
body: `Woohoo @${author}! 🎉 You've just dropped some hot new code! 🔥
Thank you for sending this pull request.
Please make sure you have followed our [contribution guidelines](https://github.com/yogeshojha/rengine/blob/master/.github/CONTRIBUTING.md).
We will review this PR as soon as possible. Thank you for your patience.`
Hang tight while we review this! You rock! 🤘`
});
} else if (context.eventName === 'pull_request' && context.payload.action === 'closed') {
github.rest.issues.createComment({
issue_number: context.issue.number,
owner,
repo,
body: `🚀 Hi @${author},
body: `Holy smokes, @${author}! 🤯 You've just made reNgine even more awesome!
You are amazing! Thank you for your contributions. Your contributions are what makes reNgine awesome!
Your code is now part of the reNgine hall of fame. 🏆
Keep the cool ideas coming - maybe next time you'll break the internet! 💻💥
This pull request has now been closed.
We look forward to your future contributions and support.
Thanks`
Virtual high fives all around! 🙌`
});
}
+12 -8
View File
@@ -12,6 +12,11 @@ jobs:
build-and-push:
name: 🐳 Build and Push Docker image
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- linux/amd64
- linux/arm64
steps:
- name: 📥 Checkout the git repo
uses: actions/checkout@v4
@@ -34,19 +39,18 @@ jobs:
with:
images: yogeshojha/rengine
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,prefix=sha-
type=schedule,pattern={{date 'YYYYMMDD'}}
type=raw,value=${{ matrix.platform }}-latest,enable={{is_default_branch}}
type=semver,pattern=${{ matrix.platform }}-{{version}}
type=semver,pattern=${{ matrix.platform }}-{{major}}.{{minor}}
type=semver,pattern=${{ matrix.platform }}-{{major}}
type=sha,prefix=${{ matrix.platform }}-sha-
type=schedule,pattern=${{ matrix.platform }}-{{date 'YYYYMMDD'}}
- name: 🏗️ Build and push Docker image
uses: docker/build-push-action@v5
with:
context: web/
# platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}