name: Test on: push: branches: - '*' jobs: test_build: runs-on: ubuntu-latest container: git.gertjankrol.nl/docker/toolkit:latest steps: - name: Check out repository uses: actions/checkout@v3 - name: Build PHP image uses: actions/docker-build-push@v4 with: tags: php-test:${{github.ref_name}} push: false - name: PHP image details run: docker image inspect php-test:${{github.ref_name}} - name: Build PHP-FPM image uses: actions/docker-build-push@v4 with: tags: php-test-fpm:${{github.ref_name}} file: Dockerfile-fpm push: false - name: PHP-FPM image details run: docker image inspect php-test-fpm:${{github.ref_name}}