Skip to content

Commit 8a47c10

Browse files
author
Alcides Ramos
committed
ci(ci.yml): force the CI to use custom Docker images
1 parent 3fbb474 commit 8a47c10

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@ jobs:
2222
- uses: actions/checkout@v4
2323

2424
- name: Build the Docker image
25-
run: docker build --file Dockerfile --target build-development --tag dockerized-php:dev .
25+
run: docker build --file Dockerfile --target build-development --tag dockerized-php-caddy:dev .
2626

2727
- name: Validate composer.json and composer.lock
28-
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php:dev composer validate --ansi --working-dir=. --strict
28+
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php-caddy:dev composer validate --ansi --working-dir=. --strict
2929

3030
- name: Install PHP dependencies
31-
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php:dev composer install --ansi --working-dir=. --no-interaction --no-progress
31+
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php-caddy:dev composer install --ansi --working-dir=. --no-interaction --no-progress
3232

3333
- name: Check Syntax
34-
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php:dev composer check-syntax --ansi
34+
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php-caddy:dev composer check-syntax --ansi
3535

3636
- name: Check Style
37-
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php:dev composer check-style --ansi
37+
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php-caddy:dev composer check-style --ansi
3838

3939
- name: Check PHPStan
40-
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php:dev composer phpstan --ansi
40+
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php-caddy:dev composer phpstan --ansi
4141

4242
- name: Check PHPUnit
43-
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php:dev composer tests --ansi
43+
run: docker run --rm --interactive --mount type=bind,source="$(pwd)"/src,target=/var/www/html dockerized-php-caddy:dev composer tests --ansi

0 commit comments

Comments
 (0)