Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
09a95f48c0 | |||
5b7c8c11e4 | |||
8a19eaba92 | |||
a0aa33fe4f | |||
9dde9649dd | |||
dd7ab5fd9f | |||
776a0022f1 | |||
cfcd3e76d7 |
12
.gitea/workflows/container.yaml
Normal file
12
.gitea/workflows/container.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
name: Build Multiarch Container Image
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
call-reusable-workflow:
|
||||||
|
uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main
|
||||||
|
with:
|
||||||
|
repository: ${{ gitea.repository }}
|
||||||
|
ref_name: ${{ gitea.ref_name }}
|
||||||
|
sha: ${{ gitea.sha }}
|
||||||
|
registry_url: ${{ secrets.REGISTRY_URL }}
|
||||||
|
registry_user: ${{ secrets.REGISTRY_USER }}
|
||||||
|
registry_pw: ${{ secrets.REGISTRY_PW }}
|
@ -1,11 +0,0 @@
|
|||||||
pipeline:
|
|
||||||
publish-docker-image:
|
|
||||||
image: plugins/kaniko
|
|
||||||
settings:
|
|
||||||
repo: docker.io/thallian/php8-fpm
|
|
||||||
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
username:
|
|
||||||
from_secret: DOCKER_USER
|
|
||||||
password:
|
|
||||||
from_secret: DOCKER_PW
|
|
5
Containerfile
Normal file
5
Containerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM docker.io/thallian/confd-env:3.21-3.2.0.2
|
||||||
|
|
||||||
|
RUN apk --no-cache add php84-fpm
|
||||||
|
|
||||||
|
ADD /rootfs /
|
@ -1,5 +0,0 @@
|
|||||||
FROM docker.io/thallian/confd-env:3.17
|
|
||||||
|
|
||||||
RUN apk --no-cache add php81-fpm
|
|
||||||
|
|
||||||
ADD /rootfs /
|
|
@ -1,3 +1,3 @@
|
|||||||
[template]
|
[template]
|
||||||
src = "00_memory_limit.ini.tmpl"
|
src = "00_memory_limit.ini.tmpl"
|
||||||
dest = "/etc/php81/conf.d/00_memory_limit.ini"
|
dest = "/etc/php84/conf.d/00_memory_limit.ini"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[template]
|
[template]
|
||||||
src = "01_max_execution_time.ini.tmpl"
|
src = "01_max_execution_time.ini.tmpl"
|
||||||
dest = "/etc/php81/conf.d/01_max_execution_time.ini"
|
dest = "/etc/php84/conf.d/01_max_execution_time.ini"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[template]
|
[template]
|
||||||
src = "02_opcache.ini.tmpl"
|
src = "02_opcache.ini.tmpl"
|
||||||
dest = "/etc/php81/conf.d/02_opcache.ini"
|
dest = "/etc/php84/conf.d/02_opcache.ini"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[template]
|
[template]
|
||||||
src = "www.conf.tmpl"
|
src = "www.conf.tmpl"
|
||||||
dest = "/etc/php81/php-fpm.d/www.conf"
|
dest = "/etc/php84/php-fpm.d/www.conf"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
; Pid file
|
; Pid file
|
||||||
; Note: the default prefix is /var
|
; Note: the default prefix is /var
|
||||||
; Default Value: none
|
; Default Value: none
|
||||||
;pid = run/php81-fpm.pid
|
;pid = run/php84-fpm.pid
|
||||||
|
|
||||||
; Error log file
|
; Error log file
|
||||||
; If it's set to "syslog", log is sent to syslogd instead of being written
|
; If it's set to "syslog", log is sent to syslogd instead of being written
|
||||||
@ -122,4 +122,4 @@ error_log = syslog
|
|||||||
; Relative path can also be used. They will be prefixed by:
|
; Relative path can also be used. They will be prefixed by:
|
||||||
; - the global prefix if it's been set (-p argument)
|
; - the global prefix if it's been set (-p argument)
|
||||||
; - /usr otherwise
|
; - /usr otherwise
|
||||||
include=/etc/php81/php-fpm.d/*.conf
|
include=/etc/php84/php-fpm.d/*.conf
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec php-fpm81 --nodaemonize --force-stderr
|
exec php-fpm84 --nodaemonize --force-stderr
|
||||||
|
Loading…
Reference in New Issue
Block a user