Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dbpolito committed May 15, 2024
1 parent 59e3b11 commit ee33ef1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ jobs:
push: true
tags: localhost:5000/kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }}
build-contexts: |
${{ matrix.version }}${{ matrix.type }}=docker-image://localhost:5000/${{ matrix.version }}${{ matrix.type }}
kooldev/php:${{ matrix.version }}${{ matrix.type }}=docker-image://localhost:5000/kooldev/php:${{ matrix.version }}${{ matrix.type }}
- name: Tests
run: |
docker run kooldev/php:${{ matrix.version }}${{ matrix.type }} php -r "extension_loaded('swoole') or die(1);"
docker run kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} nginx -v
docker run localhost:5000/kooldev/php:${{ matrix.version }}${{ matrix.type }} php -r "extension_loaded('swoole') or die(1);"
docker run localhost:5000/kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} nginx -v
- name: Tests (dev)
if: matrix.type == ''
run: |
docker run kooldev/php:${{ matrix.version }}${{ matrix.type }} node -v
docker run kooldev/php:${{ matrix.version }}${{ matrix.type }} yarn -v
docker run kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} node -v
docker run kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} yarn -v
docker run localhost:5000/kooldev/php:${{ matrix.version }}${{ matrix.type }} node -v
docker run localhost:5000/kooldev/php:${{ matrix.version }}${{ matrix.type }} yarn -v
docker run localhost:5000/kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} node -v
docker run localhost:5000/kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} yarn -v
- name: Login to DockerHub
uses: docker/login-action@v3
Expand Down

0 comments on commit ee33ef1

Please sign in to comment.