feat: Add Docker release automation and standardize naming #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds automated Docker image publishing for releases and standardizes variable naming to use the
BIRDNETPI_*prefix consistently.Changes
🚀 Docker Release Automation
.github/workflows/docker-release.ymlv(e.g.,v2.0.0,v2.1.0-alpha)ghcr.io/mverteuil/birdnet-pilinux/amd64andlinux/arm64-initsuffix📦 Production Docker Compose
docker-compose.production.yml🏷️ Variable Naming Standardization
Renamed environment variables and volumes to use
BIRDNETPI_*prefix:BIRDNET_DATA_VOLUME→BIRDNETPI_DATA_VOLUMEbirdnet-data→birdnetpi-data(production volume)birdnet-test-data→birdnetpi-test-data(test volume)Rationale: BIRDNETPI is the project name; BIRDNET is the underlying analysis tool.
Files updated:
docker-compose.yml.github/workflows/ci.ymltests/e2e/conftest.py🔧 Init Container
Confirmed the init container is required for production deployments:
Testing
Deployment Impact
For existing users: No breaking changes to development workflow. The variable name changes only affect:
For new deployments: Users can now pull pre-built images from GHCR instead of building locally.