mirror of
https://github.com/Dannecron/php-for-dev.git
synced 2025-12-25 16:12:35 +03:00
add php 8.2
This commit is contained in:
12
.github/workflows/continious-integration.yml
vendored
12
.github/workflows/continious-integration.yml
vendored
@@ -55,6 +55,12 @@ jobs:
|
||||
docker run --rm localhost/php-for-dev:8.1 php -v
|
||||
docker tag localhost/php-for-dev:8.1 dannecron/php-for-dev:8.1
|
||||
echo "Done"
|
||||
- name: Build the Docker images 8.2
|
||||
run: |
|
||||
DOCKER_BUILDKIT=1 docker build --cache-from=dannecron/php-for-dev:8.2 --build-arg BUILDKIT_INLINE_CACHE=1 --tag=localhost/php-for-dev:8.2 ./v8.2
|
||||
docker run --rm localhost/php-for-dev:8.2 php -v
|
||||
docker tag localhost/php-for-dev:8.2 dannecron/php-for-dev:8.2
|
||||
echo "Done"
|
||||
|
||||
- name: push 7.2 image to docker hub
|
||||
if: success()
|
||||
@@ -86,6 +92,12 @@ jobs:
|
||||
with:
|
||||
args: push dannecron/php-for-dev:8.1
|
||||
|
||||
- name: push 8.2 image to docker hub
|
||||
if: success()
|
||||
uses: actions-hub/docker@master
|
||||
with:
|
||||
args: push dannecron/php-for-dev:8.2
|
||||
|
||||
- name: push latest image to docker hub
|
||||
if: success()
|
||||
uses: actions-hub/docker@master
|
||||
|
||||
Reference in New Issue
Block a user