chore: Release Workflow now uses Curl for Upload
Some checks failed
Build Docker Linux ARM64 Release / build-docker-linux-arm64-release (release) Failing after 2m1s
Some checks failed
Build Docker Linux ARM64 Release / build-docker-linux-arm64-release (release) Failing after 2m1s
This commit is contained in:
@@ -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