fix: build on tag

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-03-05 15:13:54 +07:00
parent c30b3714fa
commit 38436e7e33
2 changed files with 11 additions and 8 deletions

View file

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

View file

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