Skip to content

Release 1.1.3: Reliable Environment Variable Handling & CI/CD Stability

Choose a tag to compare

@Robbie1977 Robbie1977 released this 12 Nov 16:16
· 15 commits to main since this release

What's New
🛠️ Improvements
Reliable Environment Variable Injection:

Updated Docker and GitHub Actions workflow to ensure all required environment variables (UPSTREAM_SERVER, CACHE_MAX_SIZE, DNS_RESOLVER) are always available inside the container at runtime.
Uses both env: and -e flags in CI to guarantee envsubst generates a valid nginx.conf every time.
CI/CD Stability:

Fixed intermittent CI failures caused by missing or improperly injected environment variables.
Now the container always starts with a valid NGINX configuration in both local and GitHub Actions environments.
🐛 Bug Fixes
Prevents "no 'events' section in configuration" errors by ensuring the NGINX config is always generated with all required variables.
Simplified DNS resolver to a single value (8.8.8.8) for maximum compatibility in CI.
📚 Documentation
README and workflow comments updated to clarify environment variable handling and troubleshooting steps.