pissing me off

This commit is contained in:
2026-08-22 00:50:36 +00:00
parent d9cf96e594
commit eefcee2ce3
+13 -10
View File
@@ -29,9 +29,11 @@ jobs:
username: ${{ gitea.repository_owner }} username: ${{ gitea.repository_owner }}
password: ${{ secrets.GITEATOKEN }} password: ${{ secrets.GITEATOKEN }}
- name: Set up QEMU # QEMU deliberately omitted.
uses: docker/setup-qemu-action@v3 #
# 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 - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@@ -46,9 +48,6 @@ jobs:
tags: | tags: |
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:latest ${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:latest
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:${{ gitea.event.head_commit.id }} ${{ 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-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 cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository_owner }}/blog-ahmza-com:buildcache,mode=max
deploy: deploy:
@@ -98,11 +97,15 @@ jobs:
&& echo "NetBird management connected." \ && echo "NetBird management connected." \
|| { echo "::error title=NetBird not connected::Management not connected after netbird up."; exit 1; } || { echo "::error title=NetBird not connected::Management not connected after netbird up."; exit 1; }
- name: Deploy to talos-prod - name: Install Kubectl
env: uses: azure/setup-kubectl@v4
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with: 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 - name: NetBird diagnostics & disconnect
# Runs even on failure: captures final state for debugging and tears the # Runs even on failure: captures final state for debugging and tears the