File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,13 +46,11 @@ jobs:
4646 docker run kooldev/php:${{ matrix.version }}${{ matrix.type }} php -m | grep readline
4747 docker run -e ENABLE_XDEBUG=true kooldev/php:${{ matrix.version }}${{ matrix.type }} php -m
4848
49- - name : Build and push
49+ - name : Build and export to Docker
5050 uses : docker/build-push-action@v3
51- if : github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-php'
5251 with :
5352 context : ${{ matrix.version }}${{ matrix.type }}
54- platforms : linux/amd64,linux/arm64
55- push : true
53+ load : true
5654 tags : kooldev/php:${{ matrix.version }}${{ matrix.type }}
5755
5856 - name : Build and export to Docker (nginx)
7674 docker run kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} nginx -v
7775 docker run kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} supervisord version
7876
77+ - name : Build and push
78+ uses : docker/build-push-action@v3
79+ if : github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-php'
80+ with :
81+ context : ${{ matrix.version }}${{ matrix.type }}
82+ platforms : linux/amd64,linux/arm64
83+ push : true
84+ tags : kooldev/php:${{ matrix.version }}${{ matrix.type }}
85+
7986 - name : Build and push (nginx)
8087 uses : docker/build-push-action@v3
8188 if : github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-php'
You can’t perform that action at this time.
0 commit comments