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
|
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
|
||||||
@@ -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"
|
||||||
Reference in New Issue
Block a user