fix(config): Improve Consul config loading and add version info
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m4s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m4s
- Fixes an issue where configuration from Consul was not being loaded correctly due to multiple base64 and encoding issues. - Adds robust decoding logic with fallbacks to handle different value formats from Consul. - Adds the Git commit SHA as a version identifier to the Docker image and application logs to improve debuggability.
This commit is contained in:
2
.github/workflows/container-build.yml
vendored
2
.github/workflows/container-build.yml
vendored
@@ -51,6 +51,8 @@ jobs:
|
||||
tags: |
|
||||
${{ steps.registry.outputs.url }}/${{ github.repository }}:latest
|
||||
${{ steps.registry.outputs.url }}/${{ github.repository }}:${{ github.sha }}
|
||||
build-args: |
|
||||
COMMIT_SHA=${{ github.sha }}
|
||||
cache-from: type=registry,ref=${{ steps.registry.outputs.url }}/${{ github.repository }}:buildcache
|
||||
cache-to: type=registry,ref=${{ steps.registry.outputs.url }}/${{ github.repository }}:buildcache,mode=max
|
||||
#cache-from: type=gha
|
||||
|
||||
Reference in New Issue
Block a user