fix: restore automatic builds on tag push
All checks were successful
CI/CD / Test (push) Successful in 1m16s
CI/CD / Lint (push) Successful in 1m23s
CI/CD / Build & Release (push) Successful in 3m17s

This commit is contained in:
2026-01-07 20:53:20 +01:00
parent e1a7c57e0f
commit 627061cdbb

View File

@@ -6,10 +6,9 @@ name: CI/CD
on: on:
push: push:
branches: [main, master, develop] branches: [main, master, develop]
tags: ['v*']
pull_request: pull_request:
branches: [main, master] branches: [main, master]
release:
types: [published]
jobs: jobs:
test: test:
@@ -64,7 +63,7 @@ jobs:
name: Build & Release name: Build & Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test, lint] needs: [test, lint]
if: github.event_name == 'release' if: startsWith(github.ref, 'refs/tags/v')
container: container:
image: golang:1.24-bookworm image: golang:1.24-bookworm
steps: steps: