fix: build on tag

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-03-05 15:11:55 +07:00
parent e90c22cc9b
commit f7fc2c24bd
2 changed files with 11 additions and 8 deletions

View file

@ -1,12 +1,12 @@
# /.forgejo/workflows/build.yml
name: Build
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+*'
workflow_dispatch:
# on:
# push:
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+'
# - 'v[0-9]+.[0-9]+.[0-9]+*'
# workflow_dispatch:
env:
REGISTRY: ${{ vars.CONTAINER_REGISTRY }}

View file

@ -3,8 +3,11 @@ name: Build & Deploy on Dev
on:
push:
branches:
- dev
# branches:
# - dev
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+*'
workflow_dispatch:
env: