Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ea755a8b7a | |||
| 27f5d781aa | |||
| 4906563838 | |||
| 600700814d | |||
| bd450d140d | |||
| d2672a6801 | |||
| 8e55f0fa15 | |||
| dcf06ebe59 | |||
| a7bee66741 | |||
| be27ed7aee | |||
| 59628f1064 | |||
| ca051d8fe5 | |||
| a9f541eca7 |
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
|
||||
env:
|
||||
IMAGE_TAG: git.pretecno.com/pretecno/php-fpm-ext:${{ github.ref_name }}
|
||||
IMAGE_TAG: ${{ vars.DOCKERREGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
@@ -17,9 +17,9 @@ jobs:
|
||||
- name: login to the docker hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.pretecno.com
|
||||
username: ${{ secrets.PRETECNOREGISTRY_USERNAME }}
|
||||
password: ${{ secrets.PRETECNOREGISTRY_PASSWORD }}
|
||||
registry: ${{ vars.DOCKERREGISTRY_HOST }}
|
||||
username: ${{ vars.DOCKERREGISTRY_USERNAME }}
|
||||
password: ${{ secrets.DOCKERREGISTRY_PASSWORD }}
|
||||
- name: build and push docker image
|
||||
uses: docker/build-push-action@v4
|
||||
env:
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
- name: send telegram message
|
||||
uses: https://github.com/appleboy/telegram-action@master
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
to: ${{ vars.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
message: |
|
||||
[Docker] ${{ env.IMAGE_TAG }} has just been released. 🎉
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM php:8.3.11-fpm-bookworm
|
||||
FROM php:8.3.27-fpm-bookworm
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y --no-install-recommends install \
|
||||
@@ -36,3 +36,5 @@ RUN docker-php-ext-install -j$(nproc) \
|
||||
|
||||
RUN printf \n | pecl install vips && docker-php-ext-enable vips
|
||||
RUN printf \n | pecl install zstd && docker-php-ext-enable zstd
|
||||
|
||||
COPY config/access-format.conf /usr/local/etc/php-fpm.d/access-format.conf
|
||||
|
||||
2
config/access-format.conf
Normal file
2
config/access-format.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
[www]
|
||||
access.format = "%{REMOTE_ADDR}e - %u %t \"%m %Q\" %s"
|
||||
Reference in New Issue
Block a user