🤖 ci(docker): auto-build on push to main + fix root Dockerfile swag step

Enable Docker image build on every push to main (paths-ignore for docs-only changes mirrors webapp pattern). Fix root Dockerfile (shipped by #89) which was missing the swag init step required for //go:embed of swagger.json (gitignored).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-05-06 07:05:10 +02:00
parent 63b892b10f
commit 99f729e5cf
2 changed files with 19 additions and 1 deletions

View File

@@ -6,7 +6,6 @@
name: Docker Push
on:
# Manual trigger for testing or production
workflow_dispatch:
inputs:
ref:
@@ -14,6 +13,18 @@ on:
required: false
type: string
default: ''
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'AGENTS.md'
- 'CHANGELOG.md'
- 'AGENT_CHANGELOG.md'
- 'documentation/**'
- 'adr/**'
- 'chart/**'
- 'features/**'
# Environment variables
env: