-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ForestsoftGmbH/feature/target-image
Define target for docker build image
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Release | ||
on: | ||
push: | ||
# Sequence of patterns matched against refs/tags | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+*' # Push events to any matching semantic tag. For example, 1.10.1 or 2.0.0 or 3.0.0-alpha. | ||
# For more details, see https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet | ||
# and https://docs.npmjs.com/about-semantic-versioning | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Build changelog | ||
id: build_changelog | ||
uses: mikepenz/release-changelog-builder-action@main | ||
with: | ||
configuration: 'release-changelog-builder-config.json' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Create release | ||
id: create_release | ||
uses: actions/create-release@latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
body: ${{steps.build_changelog.outputs.changelog}} | ||
draft: false | ||
prerelease: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"categories": [ | ||
{ | ||
"title": "## 🐛 Bug Fixes", | ||
"labels": ["bug"] | ||
}, | ||
{ | ||
"title": "## 📃 Documentation Updates", | ||
"labels": ["documentation"] | ||
}, | ||
{ | ||
"title": "## ✨ Enhancements", | ||
"labels": ["enhancement"] | ||
} | ||
], | ||
"ignore_labels": ["ignore", "invalid", "wontfix"], | ||
"sort": "ASC", | ||
"template": "${{CATEGORIZED_COUNT}} changes since ${{FROM_TAG}}\n\n${{CHANGELOG}}\n\n## Other Updates\n\n${{UNCATEGORIZED}}\n", | ||
"pr_template": "- ${{TITLE}} (#${{NUMBER}})", | ||
"empty_template": "No Changes", | ||
"label_extractor": [ | ||
{ | ||
"pattern": "(.) (.+)", | ||
"target": "$1" | ||
} | ||
], | ||
"max_tags_to_fetch": 200, | ||
"max_pull_requests": 250, | ||
"max_back_track_time_days": 90, | ||
"tag_resolver": { | ||
"method": "semver" | ||
} | ||
} |