Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Update only images which a different hash

Michal Rutkade8bd754c063
diff --git a/hooks/post_build b/hooks/post_build
index 0552a9144..d4ca42d55 100644
--- a/hooks/post_build
+++ b/hooks/post_build
@@ -10,7 +10,7 @@ docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
--env DATE_TAG=$CACHE_TAG \
$IMAGE_NAME \
- /bin/sh -c "docker-compose -f profile/deploy.yml build --build-arg GIT_COMMIT=$SOURCE_COMMIT"
+ /bin/sh -c "docker-compose -f profile/deploy.yml build"
echo "===> Pushing OpenRemote images"
docker push openremote/deployment:${CACHE_TAG:-latest}