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 run: dotnet publish ./CouchLog/CouchLog.sln -c Release -r linux-arm64 --self-contained false -o ./artifacts/linux-arm64
- name: Upload ARM64 artifact - name: Upload ARM64 artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: linux-arm64 name: linux-arm64
path: ./artifacts/linux-arm64 path: ./artifacts/linux-arm64

View File

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