@@ -0,0 +1,29 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Bump minor version
|
||||||
|
run: |
|
||||||
|
version=$(cat VERSION)
|
||||||
|
IFS='.' read -r major minor patch <<< "$version"
|
||||||
|
echo "${major}.$((minor + 1)).0" > VERSION
|
||||||
|
|
||||||
|
- name: Commit and tag
|
||||||
|
run: |
|
||||||
|
git config user.name "gitea-actions"
|
||||||
|
git config user.email "actions@noreply.gitea.pixelparasol.com"
|
||||||
|
git add VERSION
|
||||||
|
git diff --cached --quiet || git commit -m "chore: bump version [skip ci]"
|
||||||
|
version=$(cat VERSION)
|
||||||
|
git tag "v${version}"
|
||||||
|
git push
|
||||||
|
git push --tags
|
||||||
@@ -1,14 +1,17 @@
|
|||||||
ACTIONS := \
|
ACTIONS := \
|
||||||
.gitea/actions/docker \
|
docker \
|
||||||
.gitea/actions/node \
|
node \
|
||||||
.gitea/actions/git/create_tag \
|
git/create_tag \
|
||||||
.gitea/actions/helm/diff \
|
helm/diff \
|
||||||
.gitea/actions/helm/set_deployment_image \
|
helm/set_deployment_image \
|
||||||
.gitea/actions/helm/template \
|
helm/template \
|
||||||
.gitea/actions/infra/update_version \
|
helm/upgrade \
|
||||||
.gitea/actions/kubectl/configure \
|
infisical/fetch-secret \
|
||||||
.gitea/actions/trivy/image_scan \
|
infra/update_version \
|
||||||
.gitea/actions/trivy/namespace_scan
|
kubectl/configure \
|
||||||
|
test/npm \
|
||||||
|
trivy/image_scan \
|
||||||
|
trivy/namespace_scan
|
||||||
|
|
||||||
.PHONY: help docs
|
.PHONY: help docs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user