From 2ccb82f16cc4290510570cc2d2e909d3f0ef2ed9 Mon Sep 17 00:00:00 2001 From: ryuupendragon Date: Mon, 7 Jul 2025 21:21:41 +0530 Subject: [PATCH] Marix test --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dee575a..561af83 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,9 @@ on: jobs: build: + strategy: + matrix: + repo: [caddy-cloudflare,caddy-cloudflare-crowdsec,caddy-cloudflare-ddns,caddy-cloudflare-ddns-crowdsec,caddy-crowdsec] runs-on: ubuntu-latest steps: - @@ -37,7 +40,7 @@ jobs: name: Build and Push Docker images for all Container Registries uses: docker/build-push-action@v6 with: - tags: ryuupendragon/caddy-cloudflare:${{ env.VERSION }}, ryuupendragon/caddy-cloudflare:latest, ghcr.io/ryuupendragon/caddy-cloudflare:${{ env.VERSION }}, ghcr.io/ryuupendragon/caddy-cloudflare:latest - file: caddy-cloudflare/Dockerfile - platforms: linux/amd64,linux/arm64 + tags: ryuupendragon/${{matrix.repo}}:${{ env.VERSION }}, ryuupendragon/${{matrix.repo}}:latest + file: ${{matrix.repo}}/Dockerfile + platforms: linux/amd64 push: true