mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Update docker-image.yml
This commit is contained in:
parent
02b2f14e6d
commit
19b29b4aad
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user