Files
CouchLog/.gitea/workflows/linux_arm64_docker-release.yaml
Henry d234afca34
Some checks failed
Build Docker Linux ARM64 Release / build-docker-linux-arm64-release (release) Failing after 2m1s
chore: Release Workflow now uses Curl for Upload
2025-12-12 18:39:42 +01:00

33 lines
1.2 KiB
YAML

name: Build Docker Linux ARM64 Release
on:
release:
types: [published]
jobs:
build-docker-linux-arm64-release:
runs-on: [self-hosted, linux, arm64, docker]
steps:
- name: Install packages
run: apk add --no-cache git curl wget unzip bash nodejs npm docker
- name: Checkout
uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Linux ARM64 Docker Image
run: docker build -t couchlog-linux-arm64 .
- 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"