Browse Source

fixed empty home-assistant version string in org.opencontainers.image.title label

Fabian Peter Hammerle 3 years ago
parent
commit
91d9c548d9
2 changed files with 4 additions and 0 deletions
  1. 3 0
      CHANGELOG.md
  2. 1 0
      Dockerfile

+ 3 - 0
CHANGELOG.md

@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+### Fixed
+- fixed empty home-assistant version string in `org.opencontainers.image.title` label
+
 ## [1.1.0] - 2021-04-17
 ### Added
 - image labels:

+ 1 - 0
Dockerfile

@@ -58,6 +58,7 @@ ENTRYPOINT ["tini", "--"]
 CMD ["python3", "-m", "homeassistant", "--config", "/config"]
 
 # https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md
+ARG HOME_ASSISTANT_VERSION
 ARG REVISION=
 LABEL org.opencontainers.image.title="homeassistant/home-assistant:$HOME_ASSISTANT_VERSION running as unprivileged user" \
     org.opencontainers.image.source="https://github.com/fphammerle/docker-home-assistant" \