Compare commits

...
13 Commits
Author SHA1 Message Date
luca bb7e931d7b zstd
Publish Docker image / docker (push) Successful in 2m35s
2024-09-04 15:55:43 +02:00
luca 79aa9fe8af Revert "multiple steps"
Publish Docker image / docker (push) Failing after 6m4s
This reverts commit d17d1cc90e.
2024-08-14 16:06:38 +02:00
luca d17d1cc90e multiple steps
Publish Docker image / docker (push) Failing after 11m38s
2024-08-14 15:06:48 +02:00
luca 09dac08a8b Revert "single thread"
This reverts commit d7386399ab.
2024-08-14 15:05:27 +02:00
luca d7386399ab single thread
Publish Docker image / docker (push) Failing after 4m27s
2024-08-14 14:09:15 +02:00
luca f89c13c1c1 git.pretecno.com registry
Publish Docker image / docker (push) Failing after 3m6s
2024-08-14 13:44:17 +02:00
luca 72b747dd31 7.4.33
Publish Docker image / docker (push) Successful in 6m4s
2023-11-10 10:14:40 +01:00
luca cd2593b6a1 actions 2023-11-10 10:14:05 +01:00
luca 769f7d1fce 7.4.32 2022-11-02 16:09:33 +01:00
luca 1f03cc90ac 7.4.30 2022-09-13 09:07:58 +02:00
luca ec7ad719c0 7.4.29 2022-06-07 11:58:02 +02:00
luca 620d11cc5f 7.4.25 2021-11-18 14:38:41 +01:00
luca 6f6b989ce3 bullseye + bcmath,gmp 2021-09-09 18:33:18 +02:00
2 changed files with 46 additions and 1 deletions
+39
View File
@@ -0,0 +1,39 @@
name: Publish Docker image
on:
push:
env:
IMAGE_TAG: git.pretecno.com/pretecno/php-fpm-ext:${{ github.ref_name }}
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: set up docker buildx
uses: docker/setup-buildx-action@v2
- name: login to the docker hub
uses: docker/login-action@v2
with:
registry: git.pretecno.com
username: ${{ secrets.PRETECNOREGISTRY_USERNAME }}
password: ${{ secrets.PRETECNOREGISTRY_PASSWORD }}
- name: build and push docker image
uses: docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: '' # https://gitea.com/gitea/act_runner/issues/119
with:
context: .
no-cache: true
platforms: linux/amd64
push: true
tags: ${{ env.IMAGE_TAG }}
- name: send telegram message
uses: https://github.com/appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
[Docker] ${{ env.IMAGE_TAG }} has just been released. 🎉
+7 -1
View File
@@ -1,9 +1,10 @@
FROM php:7.4.23-fpm-buster
FROM php:7.4.33-fpm-bullseye
RUN apt-get update && \
apt-get -y --no-install-recommends install \
libbz2-dev \
libfreetype6-dev \
libgmp-dev \
libicu-dev \
libjpeg-dev \
libmagickwand-dev \
@@ -11,6 +12,7 @@ RUN apt-get update && \
libwebp-dev \
libxml2-dev \
libzip-dev \
libzstd-dev \
&& \
rm -rf /var/lib/apt/lists/*
@@ -19,9 +21,11 @@ RUN printf "\n" | pecl install imagick
RUN docker-php-ext-enable imagick
RUN docker-php-ext-install -j$(nproc) \
bcmath \
bz2 \
exif \
gd \
gmp \
intl \
json \
mysqli \
@@ -29,3 +33,5 @@ RUN docker-php-ext-install -j$(nproc) \
opcache \
xml \
zip
RUN printf \n | pecl install zstd && docker-php-ext-enable zstd