From f62d21101febd97a107f6499750a7a7f453399bb Mon Sep 17 00:00:00 2001
From: Andy Pack <andy@sarsoo.xyz>
Date: Sat, 15 Mar 2025 22:06:34 +0000
Subject: [PATCH] enabling arm building on gitea

---
 .gitea/workflows/ci.yml | 50 ++++++++++++++++++++---------------------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml
index 3fce694..dcb69e6 100644
--- a/.gitea/workflows/ci.yml
+++ b/.gitea/workflows/ci.yml
@@ -61,36 +61,36 @@ jobs:
           provenance: false
           context: .
 
-  # build-Docker-Arm:
+  build-Docker-Arm:
 
-  #   runs-on: ubuntu-latest-arm
-  #   name: Build Container (arm64)
-  #   needs: [build] # for ignoring bad builds
-  #   if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
+    runs-on: ubuntu-latest-arm
+    name: Build Container (arm64)
+    needs: [build] # for ignoring bad builds
+    if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
 
-  #   steps:
-  #     - uses: actions/checkout@v4
-  #       with: 
-  #         github-server-url: https://gitea.sheep-ghoul.ts.net
+    steps:
+      - uses: actions/checkout@v4
+        with: 
+          github-server-url: https://gitea.sheep-ghoul.ts.net
 
-  #     - name: Set up Docker Buildx
-  #       uses: docker/setup-buildx-action@v2
+      - name: Set up Docker Buildx
+        uses: docker/setup-buildx-action@v2
 
-  #     - name: Login to DockerHub
-  #       uses: docker/login-action@v2
-  #       with:
-  #         registry: gitea.sheep-ghoul.ts.net
-  #         username: ${{ secrets.DOCKERHUB_USERNAME }}
-  #         password: ${{ secrets.DOCKERHUB_TOKEN }}
+      - name: Login to DockerHub
+        uses: docker/login-action@v2
+        with:
+          registry: gitea.sheep-ghoul.ts.net
+          username: ${{ secrets.DOCKERHUB_USERNAME }}
+          password: ${{ secrets.DOCKERHUB_TOKEN }}
 
-  #     - name: Build Web Container
-  #       uses: docker/build-push-action@v5
-  #       with:
-  #         push: true
-  #         tags: gitea.sheep-ghoul.ts.net/sarsoo/overflow:latest-arm64
-  #         file: Dockerfile
-  #         provenance: false
-  #         context: .
+      - name: Build Web Container
+        uses: docker/build-push-action@v5
+        with:
+          push: true
+          tags: gitea.sheep-ghoul.ts.net/sarsoo/overflow:latest-arm64
+          file: Dockerfile
+          provenance: false
+          context: .
 
   packageManifest:
     runs-on: ubuntu-latest