v1.0.1
Some checks failed
Build and push image / build (push) Failing after 3m17s

Documentation overhaul (TESTING/CONTRIBUTING/ARCHITECTURE/SECURITY/CLAUDE.md,
CHANGELOG.md, drop unmaintained src/README.md) plus CI-built Docker images:
Gitea Actions now builds and pushes the servicedesk image to the Gitea
container registry on Dockerfile changes, and compose.yaml pulls that image
instead of building locally. No application behavior changes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-22 01:29:43 +02:00
parent b33b217bdb
commit 13a758779d
13 changed files with 576 additions and 71 deletions

View File

@@ -0,0 +1,42 @@
name: Build and push image
# The app image only provides PHP/Apache/extensions — application code is bind-
# mounted from ./src at deploy time (see compose.yaml), so this only needs to
# run when the image definition itself changes, not on every app code change.
on:
push:
branches: [main]
paths:
- Dockerfile
- .gitea/workflows/build.yml
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea container registry
uses: docker/login-action@v3
with:
registry: gitea.kzbikowski.pl
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
tags: |
gitea.kzbikowski.pl/kzbkowski/servicedesk:latest
gitea.kzbikowski.pl/kzbkowski/servicedesk:${{ github.sha }}