IBX-8154: Added PHP 8.3 Dockerfile #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test Docker images | |
on: | |
pull_request: ~ | |
workflow_dispatch: | |
inputs: | |
force: | |
default: false | |
required: false | |
type: boolean | |
description: "Push new images even when tests fail" | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
strategy: | |
fail-fast: false | |
matrix: | |
# php: | |
# - "7.4" | |
# - "8.0" | |
# - "8.3" | |
# node: | |
# - "18" | |
# product-version: | |
# - "~4.6.x-dev" | |
include: | |
# - php: "7.3" | |
# product-version: "~3.3.x-dev" | |
# node: "14" | |
# - php: "7.4" | |
# product-version: "~3.3.x-dev" | |
# node: "16" | |
- php: "8.2" | |
product-version: "~3.3.x-dev" | |
node: "18" | |
# - php: "8.3" | |
# product-version: "~5.0.x-dev" | |
# node: "18" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build image | |
run: bin/ci/build.sh ${{ matrix.php }} ${{ matrix.node }} | |
- name: Test image | |
run: bin/ci/test.sh | |
continue-on-error: ${{ inputs.force != '' }} | |
env: | |
TEST_CMD: "vendor/bin/behat -v --profile=browser --suite=admin-ui --tags=@richtext --config=behat_ibexa_oss.yaml" | |
PRODUCT_VERSION: ${{ matrix.product-version }} | |
- name: Log in to the Container registry | |
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push image | |
if: github.event_name == 'workflow_dispatch' | |
run: bin/ci/push.sh ghcr.io/ibexa/docker/php |