Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use ghcr image in addon development #2544

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/add-ons/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ docker run \

If you don't want to use the official build tool, you can still build with standalone Docker. If you use `FROM $BUILD_FROM` you'll need to set a base image with build args. Normally you can use following base images:

- armhf: `homeassistant/armhf-base:latest`
- aarch64: `homeassistant/aarch64-base:latest`
- amd64: `homeassistant/amd64-base:latest`
- i386: `homeassistant/i386-base:latest`
- armhf: `ghcr.io/home-assistant/armhf-base:latest`
- aarch64: `ghcr.io/home-assistant/aarch64-base:latest`
- amd64: `ghcr.io/home-assistant/amd64-base:latest`
- i386: `ghcr.io/home-assistant/i386-base:latest`

Use `docker` from the directory containing the add-on files to build the test addon:

```shell
docker build \
--build-arg BUILD_FROM="homeassistant/amd64-base:latest" \
--build-arg BUILD_FROM="ghcr.io/home-assistant/amd64-base:latest" \
-t local/my-test-addon \
.
```
Expand Down