Skip to content

Build the Docker image on pull requests that change its inputs - #2695

Merged
acockburn merged 2 commits into
AppDaemon:devfrom
tmilnthorp:docker-pr-check
Nov 5, 2026
Merged

acockburn merged 2 commits into
AppDaemon:devfrom
tmilnthorp:docker-pr-check

Conversation

@tmilnthorp

Copy link
Copy Markdown
Contributor

Adds a build-only Docker check (no push) on pull requests that change the image's inputs: Dockerfile, pyproject.toml, uv.lock or the workflow itself.

  • Platform: linux/arm/v7 only. It is the one platform that compiles native dependencies (such as uvloop) from source, since there are no musllinux wheels for it. So it is what a dependency or base image change breaks first, and building one platform keeps the check much cheaper than the full four-platform release build.
  • Cache: it reads the existing GitHub Actions build cache and doesn't write to it.

Expected to fail as opened. This branch is based on current dev, which has the uvloop 0.23.0 / missing linux-headers problem fixed by #2694. This run should reproduce the 4.5.14 failure (linux/errqueue.h: No such file or directory). Once #2694 merges, rebasing this PR should turn it green.

Had this check existed, the "Update deps" commit that moved uvloop to 0.23.0 would have failed here, instead of at release.

Adds a build-only check (no push) for pull requests touching the Dockerfile,
pyproject.toml or uv.lock. It builds linux/arm/v7 only: that platform compiles
native dependencies such as uvloop from source, so a dependency or base image
change breaks it first, and building just one platform keeps the check cheap.
@acockburn
acockburn merged commit 07e7f31 into AppDaemon:dev Nov 5, 2026
9 checks passed
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.

2 participants