From 05ccae8dc5179e16adec96dab12c8e31eeb2f3e7 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 12 Dec 2025 17:43:07 +0100 Subject: [PATCH] chore: added Release Pipeline for Linux-Arm64-Docker-Image --- .gitea/workflows/linux_arm64_docker.yaml | 38 ++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/linux_arm64_docker.yaml b/.gitea/workflows/linux_arm64_docker.yaml index 0a09252..b39bf81 100644 --- a/.gitea/workflows/linux_arm64_docker.yaml +++ b/.gitea/workflows/linux_arm64_docker.yaml @@ -6,7 +6,7 @@ on: - main jobs: - build-docker-linux-x64: + build-docker-linux-arm64: runs-on: [self-hosted, linux, arm64, docker] steps: - name: Install packages @@ -30,4 +30,38 @@ jobs: name: CouchLog-Linux-ARM64-Docker-Image path: CouchLog-Linux-ARM64-Docker-Image.tar if-no-files-found: error - retention-days: 1 \ No newline at end of file + retention-days: 1 + + +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: 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 }} \ No newline at end of file