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 }}