File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 load : true
7575 tags : kooldev/php:${{ matrix.version }}-node${{ matrix.type }}
7676
77+ - name : Tests (Node)
78+ if : ${{ matrix.type }} == ''
79+ run : |
80+ docker run kooldev/php:${{ matrix.version }}-node${{ matrix.type }} node -v
81+ docker run kooldev/php:${{ matrix.version }}-node${{ matrix.type }} npm -v
82+ docker run kooldev/php:${{ matrix.version }}-node${{ matrix.type }} yarn -v
83+
7784 - name : Tests (nginx)
7885 run : |
7986 docker run kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} php -v
@@ -97,6 +104,15 @@ jobs:
97104 push : true
98105 tags : kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }}
99106
107+ - name : Build and push (Node)
108+ uses : docker/build-push-action@v5
109+ if : github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-php' && ${{ matrix.type }} == ''
110+ with :
111+ context : ${{ matrix.version }}-node${{ matrix.type }}
112+ platforms : linux/amd64,linux/arm64
113+ push : true
114+ tags : kooldev/php:${{ matrix.version }}-node${{ matrix.type }}
115+
100116 trigger-build-wordpress :
101117 name : Trigger Wordpress Build
102118 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments