Update create_homeassistant.sh

This commit is contained in:
Pascal Vizeli 2017-05-15 22:04:42 +02:00 committed by GitHub
parent 24b7c4caa1
commit 2df2acda26

View file

@ -124,7 +124,7 @@ cp ../../homeassistant/Dockerfile "$WORKSPACE/Dockerfile"
sed -i "s/%%BASE_IMAGE%%/${BASE_IMAGE}/g" "$WORKSPACE/Dockerfile"
sed -i "s/%%VERSION%%/${DOCKER_TAG}/g" "$WORKSPACE/Dockerfile"
echo "LABEL io.hass.version=\"$DOCKER_TAG\"" >> "$WORKSPACE/Dockerfile"
echo "LABEL io.hass.version=\"$DOCKER_TAG\" io.hass.type=\"homeassistant\" io.hass.machine=\"$MACHINE\"" >> "$WORKSPACE/Dockerfile"
git clone https://github.com/home-assistant/home-assistant "$HASS_GIT"
cd "$HASS_GIT" && git checkout "$DOCKER_TAG"