mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 10:13:24 -05:00
add image with open-telemetry PHP extension
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user