Merge branch 'main' of https://gitea.penry.de/CouchLog/CouchLog
Some checks failed
Build ARM64 Linux / build-arm64 (push) Failing after 4m4s
Build Docker Linux ARM64 / build-docker-linux-arm64 (push) Successful in 6m28s
Build Linux x64 / build-linux-x64 (push) Has been cancelled
Build Docker Linux x64 / build-docker-linux-x64 (push) Has been cancelled
Build Windows x64 / build-windows-x64 (push) Has been cancelled
Some checks failed
Build ARM64 Linux / build-arm64 (push) Failing after 4m4s
Build Docker Linux ARM64 / build-docker-linux-arm64 (push) Successful in 6m28s
Build Linux x64 / build-linux-x64 (push) Has been cancelled
Build Docker Linux x64 / build-docker-linux-x64 (push) Has been cancelled
Build Windows x64 / build-windows-x64 (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user