diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4dd7060..eb28434 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,14 +1,9 @@ -name: ci +name: Docker image build and Push Image to registry on: push: branches: - '**' - pull_request: - types: - - closed - branches: - - '**' env: #BRANCH_NAME: ${{ github.head_ref || github.ref_name }} diff --git a/Dockerfile b/Dockerfile index eac7742..4e91e11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -89,4 +89,3 @@ RUN chmod -R 755 $WORKDIR RUN chown -R www-data:www-data $WORKDIR EXPOSE 9000 CMD [ "entrypoint" ] - diff --git a/entrypoint.sh b/entrypoint.sh index 4315990..fccbba9 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,16 +15,13 @@ if [ -f /var/www/html/artisan ]; then TASK=/etc/supervisor/conf.d/laravel-worker.conf touch $TASK cat > "$TASK" <