add new php version 8.1

This commit is contained in:
2021-12-15 11:51:44 +07:00
parent b035b310e8
commit 96a7843d63
4 changed files with 51 additions and 3 deletions

View File

@@ -49,6 +49,12 @@ jobs:
docker run --rm localhost/php-for-dev:8.0 php -v
docker tag localhost/php-for-dev:8.0 dannecron/php-for-dev:8.0
echo "Done"
- name: Build the Docker images 8.1
run: |
DOCKER_BUILDKIT=1 docker build --cache-from=dannecron/php-for-dev:8.1 --build-arg BUILDKIT_INLINE_CACHE=1 --tag=localhost/php-for-dev:8.1 ./v8.1
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: push 7.2 image to docker hub
if: success()
@@ -74,6 +80,12 @@ jobs:
with:
args: push dannecron/php-for-dev:8.0
- name: push 8.1 image to docker hub
if: success()
uses: actions-hub/docker@master
with:
args: push dannecron/php-for-dev:8.1
- name: push latest image to docker hub
if: success()
uses: actions-hub/docker@master