From eefcee2ce30c1d24f95c6331193e44608e70e7f4 Mon Sep 17 00:00:00 2001 From: ahmza Date: Sat, 22 Aug 2026 00:50:36 +0000 Subject: [PATCH] pissing me off --- .gitea/workflows/build-docker-images.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/build-docker-images.yml b/.gitea/workflows/build-docker-images.yml index 0ff849e..1af37c4 100644 --- a/.gitea/workflows/build-docker-images.yml +++ b/.gitea/workflows/build-docker-images.yml @@ -29,9 +29,11 @@ jobs: username: ${{ gitea.repository_owner }} password: ${{ secrets.GITEATOKEN }} - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - + # QEMU deliberately omitted. + # + # Hugo runs on BUILDPLATFORM in the Dockerfile, so the static site is + # built natively on the runner. The final amd64/arm64 stages only copy + # the resulting static files into the target-platform SWS image. - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -46,9 +48,6 @@ jobs: tags: | ${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:latest ${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:${{ gitea.event.head_commit.id }} - # Registry-backed build cache. The GitHub-hosted 'gha' cache is not - # reachable from self-hosted Gitea runners, so store the cache as a - # dedicated tag in the same registry instead. cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:buildcache cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:buildcache,mode=max deploy: @@ -98,11 +97,15 @@ jobs: && echo "NetBird management connected." \ || { echo "::error title=NetBird not connected::Management not connected after netbird up."; exit 1; } - - name: Deploy to talos-prod - env: - KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} + - name: Install Kubectl + uses: azure/setup-kubectl@v4 with: - args: get pods + version: v1.36.2 + + - name: Deploy to talos-prod + env: KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} + run: + k get deployment - name: NetBird diagnostics & disconnect # Runs even on failure: captures final state for debugging and tears the