From fc7de5a4db1243050ba6c19b22db963b1072f355 Mon Sep 17 00:00:00 2001 From: fristyxd Date: Mon, 2 Nov 2026 14:15:37 +0300 Subject: [PATCH] ci(deploy): use the image's buildx instead of setup-buildx-action buildx 0.38.1 is baked into git.fristy.net/actions/runner-images. Creating a docker-container builder with the CLI keeps the registry cache (cache-from/cache-to) working without pulling the action. --- .gitea/workflows/ci.yaml | 2 -- .gitea/workflows/deploy.yaml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 3569dbb..8c6d512 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -10,8 +10,6 @@ jobs: name: Lint, Test & Build runs-on: ubuntu-latest steps: - # node, pnpm and python are baked into git.fristy.net/actions/runner-images, - # so no setup-* action (and no GitHub API call) is needed here. - name: Checkout uses: actions/checkout@v4 - name: Get pnpm store path diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 47d3e9d..902f5a4 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -30,7 +30,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.REGISTRY_TOKEN }} - name: Set up Buildx - uses: docker/setup-buildx-action@v3 + run: docker buildx create --name ci --driver docker-container --use - name: Resolve tags id: meta uses: docker/metadata-action@v5 -- 2.54.1