Update docker-image.yml

This commit is contained in:
Jerry Ma 2021-08-30 17:03:38 +08:00 committed by GitHub
parent 2d3eec300f
commit 69dd9f124d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: cd docker/ && docker build . --file Dockerfile --tag static-php
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=7.4.23
- name: Push binary into dl server
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php cp php-dist/bin/php /dist/