Publish verified Docker images to GHCR

Make deployments pull immutable CI-built images while keeping test failures diagnosable before any package is published.
This commit is contained in:
Rocky
2026-08-16 14:56:36 +08:00
parent 0af35d44f4
commit 41e2145334
7 changed files with 74 additions and 16 deletions
+2 -4
View File
@@ -1,9 +1,7 @@
services:
account-server:
build:
context: .
dockerfile: Dockerfile
image: osg-account-server:${IMAGE_TAG:-local}
image: ${ACCOUNT_IMAGE:-ghcr.io/hkgood/osg-account-server}:${IMAGE_TAG:-main}
pull_policy: always
restart: unless-stopped
init: true
user: "10001:10001"