From 4f3d350260aa67fb82c307a6b28669a1312ae7a7 Mon Sep 17 00:00:00 2001 From: pedan Date: Wed, 17 Sep 2025 14:48:32 +0200 Subject: [PATCH] Update .gitea/workflows/docker.yml --- .gitea/workflows/docker.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 2407239..c407bd3 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -5,11 +5,18 @@ jobs: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest + strategy: + matrix: + arch: [amd64, arm64] steps: - name: Checkout code uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + buildkitd-flags: | + --allow-insecure-entitlement security.insecure + --allow-insecure-entitlement network.host - name: Log in to Gitea Container Registry uses: docker/login-action@v3 with: @@ -21,5 +28,7 @@ jobs: with: context: . push: true - platforms: linux/amd64,linux/arm64 - tags: git.ztsw.de/pedan/freemoto/freemoto-web:latest + platforms: linux/${{ matrix.arch }} + tags: git.ztsw.de/pedan/freemoto/freemoto-web:latest-${{ matrix.arch }} + allow: | + security.insecure \ No newline at end of file