~ fix build

This commit is contained in:
felegy
2022-06-28 10:10:14 +02:00
parent 4be3f05114
commit d133633314
2 changed files with 8 additions and 3 deletions

View File

@@ -42,7 +42,11 @@ jobs:
echo "TAG=$tag" >> $GITHUB_ENV;
- name: Build Image with pack
run: |
pack build ghcr.io/hvg/blog:$TAG \
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $PWD:/workspace -w /workspace \
-e "COMPOSER_AUTH=$COMPOSER_AUTH" \
buildpacksio/pack build ghcr.io/hvg/blog:$TAG \
--builder heroku/buildpacks:20 \
--descriptor project.toml \
--workspace /app \

View File

@@ -1 +1,2 @@
web: PHP_INI_SCAN_DIR=${PHP_INI_SCAN_DIR-:/app/config/php.d} heroku-php-nginx -C config/nginx.conf web
bash: bash -l