From 9f38493b2d86993621ab54037f96b2b3ad637974 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Sun, 28 Sep 2025 11:40:34 +0200 Subject: [PATCH] feat: update workflow to allow arm builds --- .gitea/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 8a92671..d828a16 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.2.2 + uses: actions/checkout@vmaster with: fetch-depth: 0 # Fetch full history fetch-tags: true # Fetch all tags (refs/tags) @@ -78,13 +78,13 @@ jobs: echo "tag=$prev" >> "$GITHUB_OUTPUT" - - name: Build and store Docker image + - name: Build and store Docker image for multiple architectures if: ${{ github.event.inputs.docker_release == 'true' }} run: | REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]') docker buildx build \ - --platform linux/amd64 \ + --platform linux/amd64,linux/arm64 \ --tag ${{ secrets.REGISTRY }}/${REPO_NAME}:latest \ --tag ${{ secrets.REGISTRY }}/${REPO_NAME}:${{ env.VERSION }} \ --push . -- 2.49.1