add image with open-telemetry PHP extension

This commit is contained in:
le0m
2026-07-27 12:04:29 +02:00
parent d266103d55
commit 9dc6a1b9e8
8 changed files with 242 additions and 0 deletions
+13
View File
@@ -101,3 +101,16 @@ jobs:
chialab/php-xhprof:${{ matrix.version }}${{ matrix.flavor }}
ghcr.io/chialab/php-xhprof:${{ matrix.version }}${{ matrix.flavor }}
push: true
- name: Build OTel image and push to registry
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
cache-to: type=inline
context: ./otel
build-args: |
BASE_IMAGE=ghcr.io/chialab/php:${{ matrix.version }}${{ matrix.flavor }}
tags: |
chialab/php-otel:${{ matrix.version }}${{ matrix.flavor }}
ghcr.io/chialab/php-otel:${{ matrix.version }}${{ matrix.flavor }}
push: true
+13
View File
@@ -100,3 +100,16 @@ jobs:
chialab/php-xhprof:${{ matrix.version }}
ghcr.io/chialab/php-xhprof:${{ matrix.version }}
push: true
- name: Build OTel image and push to registry
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
cache-to: type=inline
context: ./otel
build-args: |
BASE_IMAGE=ghcr.io/chialab/php:${{ matrix.version }}
tags: |
chialab/php-otel:${{ matrix.version }}
ghcr.io/chialab/php-otel:${{ matrix.version }}
push: true
+16
View File
@@ -98,3 +98,19 @@ jobs:
REGISTRY: localhost:5000/
VERSION: ${{ matrix.version }}${{ matrix.flavor }}
run: 'docker pull localhost:5000/chialab/php-xhprof:${{ matrix.version }}${{ matrix.flavor }} && make -C xhprof test'
- name: Build OTel image for testing
uses: docker/build-push-action@v5
with:
cache-to: type=inline
context: ./otel
build-args: |
BASE_IMAGE=localhost:5000/chialab/php:${{ matrix.version }}${{ matrix.flavor }}
tags: localhost:5000/chialab/php-otel:${{ matrix.version }}${{ matrix.flavor }}
push: true
- name: Test OTel image
env:
REGISTRY: localhost:5000/
VERSION: ${{ matrix.version }}${{ matrix.flavor }}
run: 'docker pull localhost:5000/chialab/php-otel:${{ matrix.version }}${{ matrix.flavor }} && make -C otel test'
+16
View File
@@ -97,3 +97,19 @@ jobs:
REGISTRY: localhost:5000/
VERSION: ${{ matrix.version }}
run: 'docker pull localhost:5000/chialab/php-xhprof:${{ matrix.version }} && make -C xhprof test'
- name: Build OTel image for testing
uses: docker/build-push-action@v5
with:
cache-to: type=inline
context: ./otel
build-args: |
BASE_IMAGE=localhost:5000/chialab/php:${{ matrix.version }}
tags: localhost:5000/chialab/php-otel:${{ matrix.version }}
push: true
- name: Test OTel image
env:
REGISTRY: localhost:5000/
VERSION: ${{ matrix.version }}
run: 'docker pull localhost:5000/chialab/php-otel:${{ matrix.version }} && make -C otel test'