diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 7078ec09..f9c8d6e4 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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