mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-09 15:18:15 +08:00
Update ci.yml
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -165,7 +165,7 @@ jobs:
|
||||
|
||||
# 仅在 ref 为以 v 开头的标签时执行
|
||||
- name: Publish to Docker Hub latest and stable
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
|
||||
run: |
|
||||
# Define the commands to push latest and stable tags
|
||||
echo "Pushing latest and stable tags..."
|
||||
|
||||
Reference in New Issue
Block a user