action
- updated auto builder
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 0.5.0 - 2026-10-11
|
||||
|
||||
- Upgraded image build precedure
|
||||
|
||||
## 0.4.2
|
||||
|
||||
- Certificate Common Name (CN) is now taken from each device's own
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
ARG BUILD_FROM
|
||||
FROM ${BUILD_FROM}
|
||||
FROM ghcr.io/home-assistant/base:2026.10.1
|
||||
|
||||
RUN apk add --no-cache python3 py3-pip
|
||||
|
||||
@@ -12,8 +11,8 @@ COPY run.sh /run.sh
|
||||
RUN chmod a+x /run.sh
|
||||
|
||||
LABEL \
|
||||
io.hass.version="0.1.0" \
|
||||
io.hass.name="MQTT Certificate Manager" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.arch="armhf|armv7|aarch64|amd64|i386"
|
||||
io.hass.arch="amd64"
|
||||
|
||||
CMD ["/run.sh"]
|
||||
|
||||
@@ -31,6 +31,7 @@ self-signed CA — no external CA or internet dependency.
|
||||
Full device-side wire protocol: see `DEVICE_PROTOCOL.md`.
|
||||
|
||||
## Installing this application
|
||||
|
||||
1. Add [virarepo repository](https://gitea.viratak.com/bitopa/virarepo) in applications section
|
||||
2. Look for this project, and click install
|
||||
|
||||
@@ -46,10 +47,8 @@ Full device-side wire protocol: see `DEVICE_PROTOCOL.md`.
|
||||
|
||||
## What's included in this scaffold
|
||||
|
||||
- `config.yaml` / `build.yaml` — add-on manifest, current (2026) HA base
|
||||
image convention. **Double check `build.yaml` against
|
||||
https://github.com/home-assistant/docker-base if your Supervisor
|
||||
version is very new or old** — base image tags do change.
|
||||
- `config.yaml` — add-on manifest, current (2026) HA base
|
||||
image convention.
|
||||
- `app/ca.py` — root CA generation + CSR signing (RSA-4096 root, 20-year
|
||||
validity; issued certs default to 825 days, matching common CT/browser
|
||||
practice, though these are just client certs so it's a soft ceiling you
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
# As of Supervisor 2026.04+, HA no longer injects BUILD_FROM automatically,
|
||||
# so we pin it explicitly here. If your Supervisor is older/newer and this
|
||||
# fails to build, check https://github.com/home-assistant/docker-base for the
|
||||
# current recommended base image tag and update the line below.
|
||||
build_from:
|
||||
amd64: "ghcr.io/home-assistant/base:latest"
|
||||
aarch64: "ghcr.io/home-assistant/base:latest"
|
||||
armv7: "ghcr.io/home-assistant/base:latest"
|
||||
armhf: "ghcr.io/home-assistant/base:latest"
|
||||
i386: "ghcr.io/home-assistant/base:latest"
|
||||
@@ -1,8 +1,8 @@
|
||||
name: "MQTT Certificate Manager"
|
||||
version: "0.4.2"
|
||||
version: "0.5.0"
|
||||
slug: "mqtt_cert_manager"
|
||||
description: "Local CA that issues and manages TLS client certificates for MQTT nodes"
|
||||
url: "https://gitea.viratak.com/bitopa/mqtt-cert-manager"
|
||||
url: "https://gitea.viratak.com/bitopa/virarepo/src/branch/main/mqtt-cert-manager"
|
||||
# Points Supervisor at a pre-built image instead of building locally on
|
||||
# install. {arch} is substituted with each entry in "arch:" below (amd64,
|
||||
# aarch64, ...) — Supervisor then pulls
|
||||
|
||||
Reference in New Issue
Block a user