Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update docker version #294

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .castor/docker.php
Expand Up @@ -83,7 +83,7 @@ function up(): void
io()->title('Starting infrastructure');

try {
docker_compose(['up', '--detach', '--no-build']);
docker_compose(['--ansi', 'never', 'up', '--detach', '--no-build']);
} catch (ExceptionInterface $e) {
io()->error('An error occured while starting the infrastructure.');
io()->note('Did you forget to run "castor docker:build"?');
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Expand Up @@ -17,24 +17,25 @@ env:
CASTOR_CONTEXT: ci

jobs:
check-dockerfiles:
name: Check Dockerfile
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Check php/Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: infrastructure/docker/services/php/Dockerfile
# check-dockerfiles:
# name: Check Dockerfile
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4

# - name: Check php/Dockerfile
# uses: hadolint/hadolint-action@v3.1.0
# with:
# dockerfile: infrastructure/docker/services/php/Dockerfile

ci:
name: Test with PHP ${{ matrix.php-version }}
strategy:
fail-fast: false
matrix:
php-version: ["8.1", "8.2", "8.3"]
# php-version: ["8.1", "8.2", "8.3"]
php-version: ["8.1"]
runs-on: ubuntu-latest
env:
DS_PHP_VERSION: ${{ matrix.php-version }}
Expand Down