Refactor Docker workflows: rename and clean up build processes
• Rename workflows for clarity • Remove debug git commands
This commit is contained in:
2
.github/workflows/docker-build-manual.yml
vendored
2
.github/workflows/docker-build-manual.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Build Docker Image manually
|
||||
name: Build Test Docker Image manually
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
16
.github/workflows/docker-publish.yml
vendored
16
.github/workflows/docker-publish.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user