10 Commits

Author SHA1 Message Date
cc3b6501d3 glpi update
Some checks failed
Container Publish / build-image (arm64) (push) Successful in 1m14s
Container Publish / update docker manifest (push) Blocked by required conditions
Container Publish / build-image (amd64) (push) Failing after 10m17s
Container Publish / on-success-skip (push) Failing after 10m23s
Vulnerability Scan / Daily Vulnerability Scan (amd64) (push) Successful in 15s
Vulnerability Scan / Daily Vulnerability Scan (arm64) (push) Successful in 7s
2025-10-10 08:48:25 +02:00
217bddf280 disabled docker cache
Some checks failed
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 1m16s
Container Publish / build-image (amd64) (push) Successful in 1m55s
Container Publish / update docker manifest (push) Successful in 28s
Vulnerability Scan / Daily Vulnerability Scan (arm64) (push) Failing after 8s
Vulnerability Scan / Daily Vulnerability Scan (amd64) (push) Failing after 23s
2025-10-04 08:00:52 +02:00
b3e1301121 glpi upgrade
Some checks failed
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 18s
Container Publish / build-image (amd64) (push) Successful in 1m8s
Container Publish / update docker manifest (push) Successful in 19s
Vulnerability Scan / Daily Vulnerability Scan (arm64) (push) Failing after 5s
Vulnerability Scan / Daily Vulnerability Scan (amd64) (push) Failing after 6s
2025-10-02 09:56:52 +02:00
903858dd62 added healthchecks in compose example
All checks were successful
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 19s
Container Publish / build-image (amd64) (push) Successful in 1m9s
Container Publish / update docker manifest (push) Successful in 18s
2025-10-02 09:13:07 +02:00
9fe7a95407 alpinelinux upgrade
All checks were successful
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 1m1s
Container Publish / build-image (amd64) (push) Successful in 1m25s
Container Publish / update docker manifest (push) Successful in 18s
2025-10-02 09:06:56 +02:00
7541c6cfeb docs 2025-10-02 09:06:34 +02:00
8f6386ef12 better notification in vulnscan 2025-10-02 09:04:06 +02:00
03c6fc0b4a build on wednesday 2025-10-02 09:03:28 +02:00
4f47e82531 build on every push 2025-10-02 09:03:15 +02:00
f5500d5133 suppress warning
All checks were successful
Vulnerability Scan / Daily Vulnerability Scan (amd64) (push) Successful in 6s
Vulnerability Scan / Daily Vulnerability Scan (arm64) (push) Successful in 15s
2025-09-22 10:41:02 +02:00
5 changed files with 45 additions and 30 deletions

View File

@@ -7,10 +7,8 @@ env:
on:
push:
tags:
- '*'
schedule:
- cron: "0 12 3 * *"
- cron: "0 12 * * 3"
workflow_dispatch:
workflow_call:
workflow_run:
@@ -49,14 +47,14 @@ jobs:
cd src && \
docker build \
--tag ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:latest-${{ matrix.arch }} \
--tag ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10-${{ matrix.arch }} \
--tag ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10.0.20-${{ matrix.arch }} \
--build-arg "GLPI_VERSION=10.0.20" \
--build-arg "ALPINE_VERSION=3.21" \
--platform linux/${{ matrix.arch }} -f Dockerfile .
--tag ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11-${{ matrix.arch }} \
--tag ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11.0.1-${{ matrix.arch }} \
--build-arg "GLPI_VERSION=11.0.1" \
--build-arg "ALPINE_VERSION=3.22" \
--platform linux/${{ matrix.arch }} --no-cache -f Dockerfile .
docker push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:latest-${{ matrix.arch }}
docker push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10-${{ matrix.arch }}
docker push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10.0.20-${{ matrix.arch }}
docker push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11-${{ matrix.arch }}
docker push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11.0.1-${{ matrix.arch }}
manifest:
name: update docker manifest
@@ -81,18 +79,18 @@ jobs:
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:latest-arm64
docker manifest push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:latest
- name: "10"
- name: "11"
run: |
docker manifest create \
${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10 \
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10-amd64 \
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10-arm64
docker manifest push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10
${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11 \
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11-amd64 \
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11-arm64
docker manifest push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11
- name: "10.0.20"
- name: "11.0.1"
run: |
docker manifest create \
${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10.0.20 \
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10.0.20-amd64 \
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10.0.20-arm64
docker manifest push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:10.0.20
${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11.0.1 \
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11.0.1-amd64 \
--amend ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11.0.1-arm64
docker manifest push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:11.0.1

View File

@@ -61,4 +61,4 @@ jobs:
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
message: |
Found **${{ steps.vulncount.outputs.VULNCOUNT }}** vulnerabilities in `${{ github.repository }}`
Found **${{ steps.vulncount.outputs.VULNCOUNT }}** vulnerabilities in `${{ env.REGISTRY }}/${{ env.REPOSITORY }}:latest`

View File

@@ -8,7 +8,7 @@ Web server for GLPI deployment
```bash
cd src
docker build -t docker.asperti.com/paspo/glpi --build-arg "ALPINE_VERSION=3.19" --build-arg "GLPI_VERSION=10.0.11" .
docker build -t docker.asperti.com/paspo/glpi --build-arg "ALPINE_VERSION=3.22" --build-arg "GLPI_VERSION=11.0.1" .
```
## run

View File

@@ -1,8 +1,6 @@
version: "3.8"
services:
db:
image: mariadb:10
image: mariadb:11
volumes:
- ./db:/var/lib/mysql
environment:
@@ -14,18 +12,37 @@ services:
logging:
options:
max-size: 10m
healthcheck:
test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ]
start_period: 1m
start_interval: 10s
interval: 1m
timeout: 5s
retries: 3
redis:
image: redis:alpine
logging:
options:
max-size: 10m
healthcheck:
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
start_period: 20s
interval: 30s
retries: 5
timeout: 3s
glpi:
build: .
build:
context: src
args:
ALPINE_VERSION: 3.22
GLPI_VERSION: 11.0.1
depends_on:
- db
- redis
db:
condition: service_healthy
redis:
condition: service_healthy
ports:
- 8282:80
environment:

View File

@@ -1,4 +1,4 @@
ARG ALPINE_VERSION
ARG ALPINE_VERSION=3.22
FROM alpine:${ALPINE_VERSION}
ARG GLPI_VERSION
@@ -6,7 +6,7 @@ RUN \
mkdir -p /logs /config /files /marketplace && \
apk -U upgrade && \
apk add --no-cache curl nginx php83 php83-bz2 php83-ctype php83-curl php83-dom php83-exif \
php83-fileinfo php83-fpm php83-gd php83-iconv php83-intl php83-ldap php83-mysqli \
php83-fileinfo php83-fpm php83-gd php83-iconv php83-intl php83-ldap php83-mysqli php83-bcmath \
php83-opcache php83-openssl php83-pecl-apcu php83-pecl-redis php83-phar php83-session \
php83-simplexml php83-sodium php83-tokenizer php83-xml php83-zip php83-xmlreader php83-xmlwriter && \
wget -O /usr/local/bin/composer https://getcomposer.org/download/2.5.8/composer.phar && \