mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Fix build script
This commit is contained in:
2
build-scripts/yocto-build-env/create_build_env.sh
Normal file → Executable file
2
build-scripts/yocto-build-env/create_build_env.sh
Normal file → Executable file
@@ -24,7 +24,7 @@ docker build --pull --tag ${DOCKER_REPO}/${DOCKER_IMAGE}:${REVISION} -f ${SCRIPT
|
||||
# Tag
|
||||
docker tag ${DOCKER_REPO}/${DOCKER_IMAGE}:${REVISION} ${DOCKER_REPO}/${DOCKER_IMAGE}:latest
|
||||
|
||||
if [${REVISION} -ne "NONE"]; then
|
||||
if [ ${REVISION} != "NONE" ]; then
|
||||
# push
|
||||
docker push ${DOCKER_REPO}/${DOCKER_IMAGE}:${REVISION}
|
||||
docker push ${DOCKER_REPO}/${DOCKER_IMAGE}:latest
|
||||
|
||||
Reference in New Issue
Block a user