ci: publish multi-arch image to GHCR; move status port to 4733

GitHub Actions builds linux/amd64 and linux/arm64 on every push to main and
pushes a single :latest tag to ghcr.io, so the container can be run without
cloning or building. Tests gate the publish step.
This commit is contained in:
Aculix Technologies committed 2026-08-14 14:36:18 +05:30
1 parent b70968d259
commit 00e6852863
6 files changed
+103 -11

No files matched your search

+4 -2
View File
@@ -1,11 +1,13 @@
services:
monitor:
# Pulls the prebuilt multi-arch image. Run `docker compose up --build` instead
# to build from this checkout; the result gets tagged with the same name.
image: ghcr.io/aculix/ticket-monitoring:latest
build: .
image: ticket-monitoring
container_name: ticket-monitoring
restart: unless-stopped
env_file: .env
ports:
- "8080:8080" # status endpoint; drop this line to keep it private
- "4733:4733" # status endpoint; drop this line to keep it private
volumes:
- ./data:/data # state survives restarts, so you aren't re-alerted