feat: init commit
All checks were successful
Release / release (push) Successful in 5m56s

This commit is contained in:
lucasdpt
2025-09-24 22:25:05 +02:00
commit 5d6f4c55c0
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
name: Release
on:
push:
tags:
- '*.*.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.tools.ldpt.fr
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: git.tools.ldpt.fr/actions/helm-ci-image:${{ github.ref_name }}

19
.releaserc.json Normal file
View File

@@ -0,0 +1,19 @@
{
"branches": [
{
"name": "main"
}
],
"tagFormat": "${version}",
"plugins": [
["@semantic-release/commit-analyzer"],
["@semantic-release/release-notes-generator"],
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
["@semantic-release/git", {
"assets": ["CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}]
]
}

3
Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM alpine/helm:3.19.0
RUN apk add --no-cache nodejs npm git bash curl ca-certificates \
&& update-ca-certificates