Refactor Docker workflows: rename and clean up build processes
• Rename workflows for clarity • Remove debug git commands
This commit is contained in:
parent
cf31d636c2
commit
0ccf2036c6
2 changed files with 3 additions and 15 deletions
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:
|
on:
|
||||||
workflow_dispatch:
|
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:
|
on:
|
||||||
release:
|
release:
|
||||||
|
|
@ -16,8 +16,7 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0 # Fetch all history for tags
|
||||||
fetch-tags: true
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
@ -29,17 +28,6 @@ jobs:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
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
|
- name: Get latest tag
|
||||||
id: get_tag
|
id: get_tag
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue