feat: single-container deployment & automated semantic versioning; add release workflow, version injection, health endpoint metadata, documentation

This commit is contained in:
Wikid82
2025-11-17 19:29:25 -05:00
parent b17e7d3d5f
commit 5dd5036661
19 changed files with 667 additions and 97 deletions
+4 -2
View File
@@ -11,6 +11,7 @@ on:
branches:
- main
- development
workflow_call: # Allow this workflow to be called by other workflows
env:
REGISTRY: ghcr.io
@@ -56,6 +57,7 @@ jobs:
type=sha,prefix={{branch}}-
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5
with:
context: .
@@ -66,9 +68,9 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
BUILD_DATE=${{ github.event.head_commit.timestamp }}
VCS_REF=${{ github.sha }}
VERSION=${{ steps.meta.outputs.version }}
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
VCS_REF=${{ github.sha }}
- name: Image digest
run: echo ${{ steps.build-and-push.outputs.digest }}