Skip to content

Docker workflow - #961

Merged
Josef-Haupt merged 1 commit into
mainfrom
docker-revisited
Jul 21, 2026
Merged

Docker workflow#961
Josef-Haupt merged 1 commit into
mainfrom
docker-revisited

Conversation

@Josef-Haupt

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 20, 2026 18:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR establishes an end-to-end Docker workflow for BirdNET-Analyzer: documenting official GHCR images, building a slimmer runtime image, and adding CI to build/test and publish multi-arch images on releases.

Changes:

  • Expanded Docker documentation with GHCR pull/run instructions and local build steps.
  • Updated the Dockerfile to use Python 3.12-slim, set a working directory, and prefer a CPU-only TensorFlow wheel.
  • Reworked the GitHub Actions workflow to build + smoke test the image on PRs/pushes and publish multi-arch images to GHCR on releases; added a .dockerignore to reduce build context.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
docs/usage/docker.rst Documents pulling/running the official GHCR image and local builds.
Dockerfile Aligns base Python version and optimizes ML dependency footprint for CPU inference.
.github/workflows/docker-build.yml Adds Buildx-based build/test and release-time publish to GHCR (multi-arch).
.dockerignore Excludes dev-only and large artifacts to speed builds and shrink context.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/docker-build.yml
@Josef-Haupt Josef-Haupt linked an issue Jul 20, 2026 that may be closed by this pull request
@Josef-Haupt
Josef-Haupt merged commit 443d202 into main Jul 21, 2026
4 checks passed
@Josef-Haupt
Josef-Haupt deleted the docker-revisited branch July 21, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dockerfile dosn't find requirements.txt Official image on Docker Hub Docker GPU instructions for BirdNET-Analyzer?

2 participants