Refactor Docker workflows: rename and clean up build processes

• Rename workflows for clarity
• Remove debug git commands
This commit is contained in:
yangdx
2025-09-05 11:46:56 +08:00
parent cf31d636c2
commit 0ccf2036c6
2 changed files with 3 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
name: Build Docker Image manually
name: Build Test Docker Image manually
on:
workflow_dispatch:

View File

@@ -1,4 +1,4 @@
name: Build Docker Image on Release
name: Build Latest Docker Image on Release
on:
release:
@@ -16,8 +16,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
fetch-depth: 0 # Fetch all history for tags
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -29,17 +28,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Debug git info
run: |
echo "Git status:"
git status
echo "Available tags:"
git tag -l
echo "Latest tags:"
git tag -l --sort=-version:refname | head -5
echo "Describe attempt:"
git describe --tags --abbrev=0 || echo "Describe failed"
- name: Get latest tag
id: get_tag
run: |