Compare commits

..
8 Commits
Author SHA1 Message Date
julielenaerts f423b6461f Update to v2.13.2
build-images / build-and-push (push) Successful in 11m58s
2026-09-17 16:43:12 +02:00
julielenaerts b6dfd83e82 DX: fix permission issues for the cache directory within Dockerfile
Delete drone.yml file
2026-09-17 16:41:40 +02:00
julielenaerts 8cbf1764f9 Merge branch 'main' of gitea.champs-libres.be:Chill-project/chill-base-app-v3
continuous-integration/drone/tag Build was killed
build-images / build-and-push (push) Successful in 10m18s
2026-09-17 16:16:02 +02:00
julielenaerts 9977d76669 DX: build-image.yaml with gitea actions 2026-09-17 16:15:50 +02:00
LenaertsJ 79b3b0fa18 Update .changes/v2.13.1 2026-09-17 14:14:38 +00:00
julielenaerts 6d5de21bef Upgrade to v2.13.1 2026-09-17 16:11:58 +02:00
julielenaerts 3bea6183af fix: ensure cache directory exists in the image 2026-09-17 16:10:55 +02:00
julielenaerts a2738a2f7c Update drone file to use node 24
continuous-integration/drone/tag Build is passing
2026-07-10 13:59:05 +02:00
6 changed files with 71 additions and 87 deletions
+5
View File
@@ -0,0 +1,5 @@
## 2.13.1 - 2026-09-17
### Fixed
* Dockerfile: create cache directory for helm deployment
### DX
* Build image with gitea actions
+3
View File
@@ -0,0 +1,3 @@
## 2.13.2 - 2026-09-17
### DX
* Fix permissions for writing to cache directory during helm deployment
-87
View File
@@ -1,87 +0,0 @@
---
kind: pipeline
type: docker
name: build-images
image_pull_secrets:
- dockerconfig
trigger:
event:
- tag
steps:
- name: build-base-image
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: h3m6q87t.gra7.container-registry.ovh.net
repo: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base
tag: latest
target: chill_base_php82
pull_image: true
cache_from:
- h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest
- chill/base-image:latest
- name: composer-install
image: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest
pull: always
commands:
- composer install --no-scripts --no-interaction
- bin/console cache:clear
depends_on:
- build-base-image
- name: build-assets
image: node:20
pull: always
commands:
- yarn install
- yarn list
- yarn run encore production
depends_on:
- composer-install
- name: build-image-php
image: plugins/docker
settings:
pull_image: true
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: h3m6q87t.gra7.container-registry.ovh.net
repo: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php
tag:
- ${DRONE_TAG}
cache_from:
- h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest
- chill/base-image:latest
depends_on:
- build-assets
- composer-install
- name: build-image-nginx
image: plugins/docker
settings:
pull_image: true
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: h3m6q87t.gra7.container-registry.ovh.net
repo: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/nginx
tag:
- ${DRONE_TAG}
Dockerfile: docker/nginx/Dockerfile
depends_on:
- build-assets
---
kind: signature
hmac: 510f151634e776218c6135bb830480fe0c265eb1dd96c16ef640001a23f351ae
...
+47
View File
@@ -0,0 +1,47 @@
name: build-images
on:
push:
tags:
- 'v*'
jobs:
build-and-push:
runs-on: cth-ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Log in to Docker Registry
uses: https://github.com/docker/login-action@v3
with:
registry: h3m6q87t.gra7.container-registry.ovh.net
username: ${{ vars.OVH_REGISTRY_USERNAME }}
password: ${{ secrets.OVH_REGISTRY_PASSWORD }}
- name: Install Dependencies and Build Assets
uses: docker://chill/base-image:8.4-edge
env:
APP_ENV: prod
with:
entrypoint: /bin/sh
# We install node/yarn inside the PHP container to ensure translations are available
args: -c "apk add --no-cache nodejs yarn && composer install --no-scripts --no-interaction && bin/console cache:clear && yarn install && yarn run encore production"
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
- name: Build and Push PHP Image
uses: https://github.com/docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php:${{ github.ref_name }}
- name: Build and Push Nginx Image
uses: https://github.com/docker/build-push-action@v5
with:
context: .
file: docker/nginx/Dockerfile
push: true
tags: h3m6q87t.gra7.container-registry.ovh.net/chillbasics/nginx:${{ github.ref_name }}
+10
View File
@@ -6,6 +6,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie). and is generated by [Changie](https://github.com/miniscruff/changie).
## 2.13.2 - 2026-09-17
### DX
* Fix permissions for writing to cache directory during helm deployment
## 2.13.1 - 2026-09-17
### Fixed
* Dockerfile: create cache directory for helm deployment
### DX
* Build image with gitea actions
## 2.13.0 - 2026-07-10 ## 2.13.0 - 2026-07-10
### Release ### Release
* Release chill with bundles version 5.1.3 * Release chill with bundles version 5.1.3
+6
View File
@@ -96,6 +96,12 @@ ADD ./entrypoint.sh /.
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
RUN mkdir -p /var/www/app/var/cache /var/www/app/var/log && \
chown -R 82:82 /var/www/app/var && \
chmod -R 755 /var/www/app/var && \
chown -R 82:82 /usr/local/etc/php/conf.d && \
chmod -R 755 /usr/local/etc/php/conf.d
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
ENV PHP_FPM_USER=www-data \ ENV PHP_FPM_USER=www-data \