Fix dev workflow hanging and implement runtime branch detection

- Fix duplicate Dockerfile sections that were causing build hangs
- Replace complex build args with simple runtime git branch detection
- Revert CI workflows to working state (remove build args and debug code)
- Add automatic version tagging: dev branch shows "0.2.15-dev"
- Enhanced movie fallback logic for rename-first scenarios
- Improved logging to trace movie date decision process
This commit is contained in:
2025-09-10 08:54:47 -04:00
parent 6f356b1942
commit bf7fb27fdb
4 changed files with 22 additions and 47 deletions
-2
View File
@@ -93,8 +93,6 @@ jobs:
echo "Building DEV image with layer caching..."
docker build \
$CACHE_ARGS \
--build-arg BUILD_TYPE=dev \
--build-arg IMAGE_TAG=dev \
--tag nfoguard:dev \
--tag nfoguard:dev-${{ github.sha }} \
--tag "$CACHE_IMAGE" \
-2
View File
@@ -94,8 +94,6 @@ jobs:
echo "Building with layer caching..."
docker build \
$CACHE_ARGS \
--build-arg BUILD_TYPE=production \
--build-arg IMAGE_TAG=latest \
--tag nfoguard:latest \
--tag nfoguard:${{ github.sha }} \
--tag "$CACHE_IMAGE" \