Skip to content

Commit 0f8d514

Browse files
authored
Merge pull request #13 from dbccccccc/main
v2 auto build alpha
2 parents 4a1b275 + 755e99d commit 0f8d514

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docker-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Docker Build and Push
33
on:
44
release:
55
types: [published]
6+
push:
7+
branches:
8+
- v2
69

710
jobs:
811
build-and-push:
@@ -34,6 +37,8 @@ jobs:
3437
tags: |
3538
type=ref,event=tag
3639
type=raw,value=latest,enable=${{ !github.event.release.prerelease }}
40+
type=raw,value=alpha,enable=${{ github.ref == 'refs/heads/v2' }}
41+
type=raw,value=alpha-{{date 'YYYYMMDD'}}-{{shortSha}},enable=${{ github.ref == 'refs/heads/v2' }}
3742
labels: |
3843
org.opencontainers.image.source=${{ github.repositoryUrl }}
3944
org.opencontainers.image.description=TTS API server compatible with OpenAI's TTS API format

0 commit comments

Comments
 (0)