mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
Update docker-image.yml
This commit is contained in:
6
.github/workflows/docker-image.yml
vendored
6
.github/workflows/docker-image.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user