ci: move git-sv config to the right dir and tune workflow abit
All checks were successful
Release / build-image (push) Successful in 1m47s

This commit is contained in:
Tommy 2024-11-10 18:39:43 +01:00
parent 8c5e1ece67
commit fc1e9f61a5
Signed by: tommy
SSH key fingerprint: SHA256:1LWgQT3QPHIT29plS8jjXc3S1FcE/4oGvsx3Efxs6Uc
3 changed files with 53 additions and 64 deletions

View file

@ -1,39 +0,0 @@
log-level: ""
versioning:
update-major: []
update-minor: [feat]
update-patch: [build, ci, chore, docs, fix, perf, refactor, style, test]
ignore-unknown: false
tag:
pattern: '%d.%d.%d'
filter: ""
release-notes:
sections:
- name: Features
section-type: commits
commit-types: [feat]
- name: Bug Fixes
section-type: commits
commit-types: [fix]
- name: Breaking Changes
section-type: breaking-changes
branches:
prefix: ([a-z]+\/)?
suffix: (-.*)?
disable-issue: false
skip: [master, main, developer]
skip-detached: false
commit-message:
types: [build, ci, chore, docs, feat, fix, perf, refactor, revert, style, test]
header-selector: ""
scope:
values: []
footer:
issue:
key: jira
key-synonyms: [Jira, JIRA]
use-hash: false
add-value-prefix: ""
issue:
regex: '[A-Z]+-[0-9]+'

View file

@ -28,29 +28,6 @@ jobs:
context: /workspace/${{ github.repository }} context: /workspace/${{ github.repository }}
credentials: | credentials: |
code.252.no=${{ github.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} code.252.no=${{ github.repository_owner }}:${{ secrets.REGISTRY_TOKEN }}
destinations: "code.252.no/tommy/mbpfan:${{ steps.next-version.outputs.next-version }}" destinations: "code.252.no/tommy/mbpfan:${{
steps.next-version.outputs.next-version }}"
push: 'true' push: 'true'
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - name: Build and Push
# uses: docker/build-push-action@v5
# with:
# context: .
# file: ./Dockerfile
# platforms: linux/amd64
# push: true
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}

51
.gitsv/config.yaml Normal file
View file

@ -0,0 +1,51 @@
log-level: ""
versioning:
update-major: []
update-minor: [ feat ]
update-patch: [ build, ci, chore, docs, fix, perf, refactor, style, test ]
ignore-unknown: false
tag:
pattern: 'v%d.%d.%d'
filter: ""
release-notes:
sections:
- name: Features
section-type: commits
commit-types: [ feat ]
- name: Bug Fixes
section-type: commits
commit-types: [ fix ]
- name: Breaking Changes
section-type: breaking-changes
branches:
prefix: ([a-z]+\/)?
suffix: (-.*)?
disable-issue: false
skip: [ master, main, developer ]
skip-detached: false
commit-message:
types:
[
build,
ci,
chore,
docs,
feat,
fix,
perf,
refactor,
revert,
style,
test
]
header-selector: ""
scope:
values: []
footer:
issue:
key: jira
key-synonyms: [ Jira, JIRA ]
use-hash: false
add-value-prefix: ""
issue:
regex: '[A-Z]+-[0-9]+'