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 containers run: | docker build . -t php-test:${{ github.ref_name }} docker build . -f Dockerfile-fpm -t php-test:${{ github.ref_name }}-fpm - name: Default image details run: docker image inspect php-test:${{ github.ref_name }} - name: FPM image details run: docker image inspect php-test:${{ github.ref_name }}-fpm