Skip to content

Commit

Permalink
Set labels for base homeassistant (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Apr 18, 2019
1 parent ddcec6a commit bede241
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,11 @@ function build_homeassistant_base() {
# Make version
version="$(date +%Y%m%d)"

# Set labels
docker_cli+=("--label" "io.hass.type=base")
docker_cli+=("--label" "io.hass.base.version=$version")
docker_cli+=("--label" "io.hass.base.image=$DOCKER_HUB/$image")

# Start build
run_build "$TARGET" "$DOCKER_HUB" "$image" "$version" \
"$build_from" "$build_arch" docker_cli[@]
Expand Down

0 comments on commit bede241

Please sign in to comment.