Skip to content

Migrate image build away from legacy builder action#401

Merged
sairon merged 1 commit intomasterfrom
migrate-builder
Apr 2, 2026
Merged

Migrate image build away from legacy builder action#401
sairon merged 1 commit intomasterfrom
migrate-builder

Conversation

@sairon
Copy link
Copy Markdown
Member

@sairon sairon commented Mar 31, 2026

Migrate image build to new composite builder actions and publish multi-arch manifest combining all architecture into a single image reference.

BUILD_TYPE was changed as the base type was unhandled by the version action and the version it produced for merges to master were literal master, and literal merge for PRs respectively. The generic type produces more sensible commit SHA for PRs and CalVer-based string for merges to master, which is reasonable for this image.

The build now also runs on push to master without publishing the image, to keep the GHA cache warm.

Closes home-assistant/epics#34

@sairon sairon requested review from agners and edenhaus March 31, 2026 11:56
Migrate image build to new composite builder actions and publish
multi-arch manifest combining all architecture into a single image
reference.

`BUILD_TYPE` was changed as the `base` type was unhandled by the version
action and the version it produced for merges to master were literal
`master`, and literal `merge` for PRs respectively. The `generic` type
produces more sensible commit SHA for PRs and CalVer-based string for
merges to master, which is reasonable for this image.

The build now also runs on push to master without publishing the image,
to keep the GHA cache warm.

Closes home-assistant/epics#34
Copy link
Copy Markdown
Member

@agners agners left a comment

Choose a reason for hiding this comment

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

LGTM!

@sairon sairon merged commit ec3e552 into master Apr 2, 2026
8 checks passed
@sairon sairon deleted the migrate-builder branch April 2, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker: migrate base image builds away from legacy builder action

2 participants