Update docker-image.yml

This commit is contained in:
Jerry Ma 2021-08-30 15:08:35 +08:00 committed by GitHub
parent 02b2f14e6d
commit 19b29b4aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,4 +15,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: cd docker/ && docker build . --file Dockerfile --tag my-image-name:$(date +%s)
run: cd docker/ && docker build . --file Dockerfile --tag static-php
- name: Push binary into new branch
run: |
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ -it static-php cp php-dist/bin/php /dist/
./action-deploy.sh