.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
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:
@@ -23,11 +23,15 @@ 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: Debug Upload mit Curl
|
- name: Release erstellen & Datei hochladen
|
||||||
run: |
|
uses: softprops/action-gh-release@v2
|
||||||
ls -lh CouchLog-Linux-ARM64-Docker-Image.tar # Zeigt uns, wie groß die Datei wirklich ist
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
curl -v --fail -X POST \
|
with:
|
||||||
"${{ github.api_url }}/repos/${{ github.repository }}/releases/${{ github.event.release.id }}/assets?name=CouchLog-Linux-ARM64-Docker-Image.tar" \
|
files: CouchLog-Linux-ARM-Docker-Image.tar # Pfad zur Datei, die hochgeladen werden soll
|
||||||
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
# Optional: Release-Text anpassen
|
||||||
-H "Content-Type: multipart/form-data" \
|
body: "Automatisches Release für ${{ github.ref_name }}"
|
||||||
--data-binary "@CouchLog-Linux-ARM64-Docker-Image.tar"
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
env:
|
||||||
|
# Gitea stellt diesen Token automatisch bereit, er wird für den Upload benötigt
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user