From 0ccf2036c670079cdf11519235396d26e6f9ce60 Mon Sep 17 00:00:00 2001 From: yangdx Date: Fri, 5 Sep 2025 11:46:56 +0800 Subject: [PATCH] Refactor Docker workflows: rename and clean up build processes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Rename workflows for clarity • Remove debug git commands --- .github/workflows/docker-build-manual.yml | 2 +- .github/workflows/docker-publish.yml | 16 ++-------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/docker-build-manual.yml b/.github/workflows/docker-build-manual.yml index 8b62d574..6f6b1598 100644 --- a/.github/workflows/docker-build-manual.yml +++ b/.github/workflows/docker-build-manual.yml @@ -1,4 +1,4 @@ -name: Build Docker Image manually +name: Build Test Docker Image manually on: workflow_dispatch: diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 85a4a964..a6485016 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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: |