Skip to content

Commit 98577ad

Browse files
committed
Fix CI
1 parent 9a8e7f0 commit 98577ad

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff 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)
@@ -76,6 +74,15 @@ jobs:
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'

0 commit comments

Comments
 (0)