(MINOR) Add own release number
Some checks failed
ci / release (push) Successful in 6s
ci / docker (push) Failing after 8s

This commit is contained in:
holzi1005 2025-06-04 14:54:43 +02:00
parent 76a4863f8f
commit f0865d06a5

View file

@ -10,8 +10,37 @@ on:
permissions: write-all permissions: write-all
jobs: jobs:
release:
runs-on: docker
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Define next tag
uses: https://github.com/paulhatch/semantic-version@v5.0.2
id: version
with:
tag_prefix: ""
major_pattern: "(MAJOR)"
minor_pattern: "(MINOR)"
change_path: .
version_format: "${major}.${minor}.${patch}"
- name: Create tag
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git tag "${{ steps.version.outputs.version }}" -m "[forgejo-action-tag]"
git push origin --tags
docker: docker:
runs-on: host runs-on: host
needs:
- release
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -27,5 +56,5 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
push: true push: true
tags: git.h2-invent.com/meetling/livekit-egress:${{env.VERSION}},git.h2-invent.com/meetling/livekit-egress:latest tags: git.h2-invent.com/meetling/livekit-egress:${{ needs.release.outputs.version }},git.h2-invent.com/meetling/livekit-egress:latest
build-args: VERSION=${{env.VERSION}} build-args: VERSION=${{ needs.release.outputs.version }}