From ee4487f914a2799dddf72b236c228a36de743576 Mon Sep 17 00:00:00 2001 From: Lino Silva Date: Fri, 10 Apr 2026 17:32:48 +0100 Subject: [PATCH] fix: Buildx gambiarra --- .gitea/workflows/on-push.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/on-push.yaml b/.gitea/workflows/on-push.yaml index 7df7122..702300f 100644 --- a/.gitea/workflows/on-push.yaml +++ b/.gitea/workflows/on-push.yaml @@ -17,11 +17,19 @@ jobs: - name: Set up Docker Buildx uses: https://github.com/docker/setup-buildx-action@v3 + with: + driver-opts: image=moby/buildkit:latest + install: true + network: host + buildkitd-config-inline: | + [registry."10.0.2.28:222"] + http = true + insecure = true - name: Log in to Gitea Container Registry uses: https://github.com/docker/login-action@v3 with: - registry: https://gitea.lino.cooking + registry: 10.0.2.28:222 username: lino password: ${{ secrets.REGISTRY_PASS }} @@ -29,7 +37,7 @@ jobs: id: meta uses: https://github.com/docker/metadata-action@v5 with: - images: https://gitea.lino.cooking/${{ gitea.repository }} + images: 10.0.2.28:222/${{ gitea.repository }} tags: | type=ref,event=branch type=ref,event=pr