From 921ce96129a899f6c289d7b89e382dec00ad3aad Mon Sep 17 00:00:00 2001 From: Ilya Bulah Date: Wed, 4 Oct 2023 18:57:14 +0300 Subject: [PATCH] test build --- .github/workflows/test_dockerfile.yml | 30 +++++++++++++++------------ 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test_dockerfile.yml b/.github/workflows/test_dockerfile.yml index 1510dc1..8a482ce 100644 --- a/.github/workflows/test_dockerfile.yml +++ b/.github/workflows/test_dockerfile.yml @@ -12,22 +12,26 @@ jobs: strategy: fail-fast: false matrix: - platform: - - linux/amd64 - # - linux/arm/v6 - # - linux/arm/v7 - - linux/arm64 php: - - 8.0 + # - 8.0 - 8.1 - - 8.2 - variant: - - "" # cli - - fpm + # - 8.2 os: - - "" + # - "" - alpine + variant: + - "" # cli + # - fpm steps: - - name: testing matrix values - run: echo "${{ matrix}} - ${{ matrix.php }} - ${{ matrix.variant }} - ${{ matrix.os }} " + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Build and push + uses: docker/build-push-action@v5 + with: + push: false + context: "{{defaultContext}}:{{ matrix.php }}/{{ matrix.os }}" + platforms: linux/amd64,linux/arm64 + tags: fizzka/docker-phalcon:${{ matrix.php }}-${{ matrix.os }}