ci/cd: build next image for v* branches

This commit is contained in:
Elias Schneider
2026-10-28 10:37:19 +01:00
parent 75fe4ae519
commit 1ecb1582ed
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -4,10 +4,11 @@ on:
push:
branches:
- main
- "v[0-9]+"
workflow_dispatch:
concurrency:
group: build-next-image
group: build-next-image-${{ github.ref_name }}
cancel-in-progress: true
permissions:
@@ -66,7 +67,7 @@ jobs:
args: release --clean --skip=announce,validate --parallelism=4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_NEXT: "true"
BUILD_NEXT: ${{ github.ref_name == 'main' && 'next' || format('next-{0}', github.ref_name) }}
SKIP_RELEASE: "true"
SKIP_CHANGELOG: "true"
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}