mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Fix build script
This commit is contained in:
parent
caa3e242bd
commit
1a4022ccef
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user