chore: update docker workflow to include tags

- Add support for tagging workflow triggers on pushes
- Include version tags following the pattern 'v*'

This change enhances the Docker workflow by allowing the CI/CD
pipeline to respond to version tags, which is beneficial for
versioned releases and better management of deployment processes.
This commit is contained in:
songtianlun 2025-01-22 09:37:35 +08:00
parent 93b24ff50c
commit f83600412b

View File

@ -4,6 +4,8 @@ on:
push: push:
branches: branches:
- main - main
tags:
- v*
env: env:
# Use docker.io for Docker Hub if empty # Use docker.io for Docker Hub if empty