RepairWorkflows #7

Merged
Penry merged 2 commits from RepairWorkflows into main 2025-12-12 19:25:03 +01:00
2 changed files with 10 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ jobs:
run: dotnet publish ./CouchLog/CouchLog.sln -c Release -r linux-arm64 --self-contained false -o ./artifacts/linux-arm64
- name: Upload ARM64 artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-arm64
path: ./artifacts/linux-arm64

View File

@@ -2,7 +2,7 @@ name: Build Docker Linux ARM64 Release
on:
release:
types: [published]
#types: [published]
jobs:
build-docker-linux-arm64-release:
@@ -23,10 +23,11 @@ jobs:
- name: Save Docker Image to Tar
run: docker save -o CouchLog-Linux-ARM64-Docker-Image.tar couchlog-linux-arm64
- name: Upload Artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: CouchLog-Linux-ARM64-Docker-Image.tar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Debug Upload mit Curl
run: |
ls -lh CouchLog-Linux-ARM64-Docker-Image.tar # Zeigt uns, wie groß die Datei wirklich ist
curl -v --fail -X POST \
"${{ github.api_url }}/repos/${{ github.repository }}/releases/${{ github.event.release.id }}/assets?name=CouchLog-Linux-ARM64-Docker-Image.tar" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: multipart/form-data" \
--data-binary "@CouchLog-Linux-ARM64-Docker-Image.tar"