ci: add ci for both Gitea and Github repos #4
21
.cz.yaml
Normal file
21
.cz.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
commitizen:
|
||||||
|
customize:
|
||||||
|
change_type_map:
|
||||||
|
feature: Features
|
||||||
|
fix: Fixes
|
||||||
|
refactor: Refactoring
|
||||||
|
test: Tests
|
||||||
|
change_type_order:
|
||||||
|
- BREAKING CHANGE
|
||||||
|
- feat
|
||||||
|
- fix
|
||||||
|
- test
|
||||||
|
- refactor
|
||||||
|
commit_parser: ^(?P<change_type>feat|fix|test|refactor|perf|BREAKING CHANGE)(?:\((?P<scope>[^()\r\n]*)\)|\()?(?P<breaking>!)?:\s(?P<message>.*)?
|
||||||
|
name: cz_customize
|
||||||
|
prerelease_offset: 1
|
||||||
|
tag_format: $version
|
||||||
|
update_changelog_on_bump: false
|
||||||
|
version: 0.0.1
|
||||||
|
version_scheme: semver
|
25
.github/workflows/ci.yaml
vendored
Normal file
25
.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
name: 'CI'
|
||||||
|
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
|
||||||
|
docker:
|
||||||
|
name: 'Docker'
|
||||||
|
uses: nofusscomputing/action_docker/.github/workflows/docker.yaml@development
|
||||||
|
with:
|
||||||
|
DOCKER_BUILD_IMAGE_NAME: "nofusscomputing/git-event-problem-matcher"
|
||||||
|
DOCKER_PUBLISH_REGISTRY: "docker.io"
|
||||||
|
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/git-event-problem-matcher"
|
||||||
|
secrets:
|
||||||
|
DOCKER_PUBLISH_USERNAME: ${{ secrets.NFC_DOCKERHUB_USERNAME }}
|
||||||
|
DOCKER_PUBLISH_PASSWORD: ${{ secrets.NFC_DOCKERHUB_TOKEN }}
|
Reference in New Issue
Block a user