.gitea/workflows/linux_arm64_docker-release.yaml aktualisiert
Some checks failed
Build ARM64 Linux / build-arm64 (push) Has been cancelled
Build Docker Linux ARM64 / build-docker-linux-arm64 (push) Has been cancelled
Build Linux x64 / build-linux-x64 (push) Has been cancelled
Build Windows x64 / build-windows-x64 (push) Has been cancelled
Build Docker Linux ARM64 Release / build-docker-linux-arm64-release (release) Successful in 1m29s

This commit is contained in:
Henry Trumme
2025-12-17 20:30:15 +01:00
parent 7537fe72a5
commit ceda56247b

View File

@@ -23,11 +23,15 @@ jobs:
- name: Save Docker Image to Tar
run: docker save -o CouchLog-Linux-ARM64-Docker-Image.tar couchlog-linux-arm64
- 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"
- name: Release erstellen & Datei hochladen
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: CouchLog-Linux-ARM-Docker-Image.tar # Pfad zur Datei, die hochgeladen werden soll
# Optional: Release-Text anpassen
body: "Automatisches Release für ${{ github.ref_name }}"
draft: false
prerelease: false
env:
# Gitea stellt diesen Token automatisch bereit, er wird für den Upload benötigt
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}